I am using the following coding for accessing the cookie.
dokie = document.cookie
start = dokie.indexOf("name=")+"name=".length;
end = dokie.indexOf(";", start);
if(end==-1)end = dokie.length
After entering the username, the username is stored in the cookie and it is accessed in another page as "Welcome Jackson"
But if i close the ie window again i go to that same url then i am getting as t=2 instead of jackson(username).
Please Help me.