Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_databases thread: Save cookie value


Message #1 by "Rakesh Parekh" <rakesh.parekh@j...> on Sun, 22 Sep 2002 09:36:11
Hi, 

With the following code it loses the value when I refresh the page. I need 
to display and keep the value even after I refresh the page or visit again. 
But with this code the cookie value is lost. Please advise. The code I use 
is as under:

<% 
response.Cookies("pass") = Request.Form("PASSWORD")
Response.Cookies("pass").Expires = #31/12/2002#    
Response.write(Request.Form("PASSWORD")) 
%>

Thanks,
Rakesh

  Return to Index