Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_databases thread: Textbox value


Message #1 by "Rakesh Parekh" <rakesh.parekh@j...> on Sat, 21 Sep 2002 09:17:01
Hello,

When I put absolute value say "Rakesh" as the Cookie value then it display 
that value in the Textbox however, when I try to get the value from a 
Textbox it doesn't display the Cookie value. Example:

Case 1

<% Response.Cookies("pass") = "Rakesh" %>
It shows the cookie value in the Textbox.
<input type="text" name="PASSWORD" size="20" 
value="<%=Request.Cookies("pass") %>">
=============================================

Case 2

However, when I put following code it does not show the cookie value in the 
Textbox. Here I try to get cookie value from Textbox.

<% Response.Cookies("pass") = Request.Form("PASSWORD") %>

<input type="text" name="PASSWORD" size="20" 
value="<%=Request.Cookies("pass") %>">

Please advise.
Rakesh

  Return to Index