[RESOLVED]
Hello Everybody,
i found the problem in my javascript function.
i thougth that if i wont pass the expire date the cookie will be save on the local computer.
I WAS WRONG!!!
HERE IS THE WORKING CODE:
I JUST SET THE EXPIRE DATE TO 31/12/2999 AND IT WORKS JUST FINE.Code:</HEAD> <BODY> <A href="#" onclick='setCookie("name", "eran fox","December 31, 2999")'>Set Cookie!</A> <A href="#" onclick='alert(getCookie("name"))'>Get Cookie!</A> </BODY> </HTML>
HAVE A NICE WEEKEND YOU ALL,
ERAN




Reply With Quote