conjurer111
Programmer
Hi,
I'm making a site in ASP.NET and I need to do the following. I have a login page where in when a user logs on, I need to store his username and email id in cookies. Later I'll need to retieve these values from other pages. So, what shall be the codes to set a coookie and retrieve it. Also, I need to check whether the client machine has disabled cookies, and if so then what all alternatives do I have apart from posting a message to enable cookies ? Thanks.
I'm making a site in ASP.NET and I need to do the following. I have a login page where in when a user logs on, I need to store his username and email id in cookies. Later I'll need to retieve these values from other pages. So, what shall be the codes to set a coookie and retrieve it. Also, I need to check whether the client machine has disabled cookies, and if so then what all alternatives do I have apart from posting a message to enable cookies ? Thanks.