Thread: Cookies
View Single Post
  #5 (permalink)  
Old May 29th, 2006, 01:00 AM
hastikeyvan hastikeyvan is offline
Friend of Wrox
Join Date: May 2005
Location: tehran, tehran, Iran.
Posts: 201
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to hastikeyvan

You're right.the cookie doesn't get the value of txtUser.i changed my code to this kind but it didn't work:
<script for="txtUser" language="vbScript" event="onkeypress">
response.cookies("UserInformation")("Name")=docume nt.form1.txtUser.Value
in which form1 is my form name.
can we set the cookie value in this way????
I would be very happy if you help me.
thank you for your replies

Reply With Quote