Set cookies from javascript code
By I am
18 Apr 2014 03:10
English
3 Replies
Hi!
Is it possible to set cookie from javascript code?
I tried something like this
document.cookie="auth=some_value"; path=/; expires=...";
but it didn't work(
Edited on 22 08, 2017
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.