Skip to content

Set path? #14

@GammaGames

Description

@GammaGames

I am working on porting a website into Electron and am using js cookie to set and get cookies. Js cookie lets me set a path, since the web page isn't at site.com/ to prevent cookie naming conflicts between apps. This still allows me to writethe cookies to the correct paths in localStorage, but it's not able to read the cookies back when I go to reload the page.

I was wondering if it would be worthwhile to allow the user to set a path to read cookies from. I'd really like to leave the javascript from the website intact with no changes, and so far it's been going well aside from the inability to read the cookies I've set.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions