How to Store in a cookie

Results 1 to 2 of 2

Thread: How to Store in a cookie

  1. #1
    Join Date
    Dec 1969

    Default How to Store in a cookie

    I want to store User values of name & password of a user in a cookie, so that next time he logs on to the site, it should automatically get populated with the previous values?<BR><BR>How to do it?

  2. #2 Guest

    Default RE: How to Store in a cookie

    First of all, you can store items in a cookie using:<BR><BR>Response.Cookies("Keyname")="Your text goes here"<BR><BR>You can retrieve them using:<BR><BR>strValue=Request.Cookies("Keyname")< BR><BR>Most importantly, never ever ever store passwords ... even for simple tools client side.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts