Now I tried this
Code:
var broken_cookie = document.cookie.split(":");
var RightClick = broken_cookie[0];
var StyleNum = broken_cookie[1];
if(document.cookie==''){RightClick=0;StyleNum=0}
if(document.cookie==''){RightClick=0;StyleNum=0} this was for when the user logs on the page for the first time, so it still displays a style sheet.
This worked great on my PC
just as i wanted it to
but now i uploaded it to my server (brinkster.com) and it chages the cookie in some way it adds a weird Brinkster=0 or Brinkster=3 or sometimes just this #LSDAKJFSLKAF#DLKSJF0923490USD78923#@$LKSFJD
just random numbers and letters
this makes it impoosbile for me to retrive the information i stored.....
please help.
Here the link to the broken page -->
http://www34.brinkster.com/dgothe/db/DominiksBeta.html
it will alert the cookie value at the beginning so that you see whats going on
thanks alot