Hi,
I am using "escape" and "unescape" for decoding and encoding cookie values.
how can I set the path of document.cookie using javascript ? I am using firefox(Mozilla) 0.10.1 .
when I submit my page the cookies values are set properly on the firefox browser.After submission When I close the window and open a new window of firefox I don't see the values entered.But when I don't close the firefox window after submitting my page and open a new window with the previous one then I see the values input in the text box.
Is there anything specific about firefox(mozilla) I'm missing ?
How can I make my code cross browser compatible ?
Can anybody help in solving this problem ?
its urgent....
thanx in advance,
Abhishek
Cookie problem
Started by abhishek, Dec 20 2004 06:13 AM
1 reply to this topic
#1
Posted 20 December 2004 - 06:13 AM
#2
Posted 21 December 2004 - 01:09 AM
well, im not sure about using cookies in javascript, but in php you have the option of setting an experation time or not.
Basicly what happens is if you choose not to set the experation time, then the cookie will just delete itself when you close all your browser windows the cookie deletes itself
if the time is set tho, then the cookie will remain untill the time you told it to delete itself
yet again, not sure about javascript (or firevox), but see if you can find something similar to this some where and see if it helps any
Basicly what happens is if you choose not to set the experation time, then the cookie will just delete itself when you close all your browser windows the cookie deletes itself
if the time is set tho, then the cookie will remain untill the time you told it to delete itself
yet again, not sure about javascript (or firevox), but see if you can find something similar to this some where and see if it helps any
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
