Author: dude9er | Posted on: 2/13/2009 12:05:27 PM | Views : 315

 Okay, this is driving me nuts.  I have a form that has set a cookie for the email address the user enters. The cookie expires in 30 days.  When the user revists the site I want to get the value of taht cookie and place it in the textbox.  I can't seem to figure this out. Here is the code that does not work.
<asp:TextBox ID="EmailAdr" runat="server" Text="<%=Context.Request.Cookies("portalEmailCookie").Value%>"></asp:TextBox>
 
I have scoured the internet and have not found an answer as of yet. Does anyone have a suggestion?

 
...

Go to the complete details ...