Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Okay, so general cookie testing:

According to https://arty.name/localstorage.html 

My browser can save over 5 million characters.

And yes, I can accept cookies in order to log into websites; such as having an itch.io account.

According to http://www.sharonminsuk.com/code/storage-test.html

I can load HTML5 session information just fine.

Further reading:

I see that the issue extends to many other games on itch.io

Looking into this further, the hwcdn.net server that itch runs will serve cookies in a 3rd-party way.

https://itch.io/t/1698549/i-am-unable-to-save-my-progress-in-twine-games

https://itch.io/t/1395792/security-issue-with-uploaded-unitywebgl-game

https://itch.io/t/850753/ios-web-games-and-iframes-error

Cookie-jacking is a real thing. That's why these settings are the way they are. But perhaps if I tweaked my browser settings, I could access the game?

I change my Chrome browser settings for the itch.io website:

Sites that can always use cookies

  v6p9d9t4.ssl.hwcdn.net

    Including third-party cookies on this site

  itch.io

    Including third-party cookies on this site

I shift+refresh the game's web page and try again, but alas - no. No change.

Would you know somewhere else (a web server or something) that my browser would load the cookies of your game from?

Thank you for replying!

(+1)

I'm so sorry, but I have no clue. I wish I did :-( I'll look a bit more into this matter and reply to you again in case I figure anything out.

(1 edit)

You are perfectly fine, there no need to appologise!

I see this as a very interesting computer problem. I think MANY people who develop games in itch would be looking for a solution.

I have heard of using localstorage to save information instead of using cookies. (see https://www.w3schools.com/html/html5_webstorage.asp) But depending on your framework that you used to make the game, it might not be a workable solution.
ie. it seems not to work for these devs also; https://itch.io/t/1194304/local-storage-not-working-on-itch

I swear that I read a comment about a workaround on the community forum, but am having great difficulty trying to find it now. :/

I've never uploaded anything to itch (yet); so you are miles ahead of me!