Save Password

Results 1 to 2 of 2

Thread: Save Password

  1. #1
    Join Date
    Dec 1969

    Default Save Password

    Does anybody have an idea on how to manage to save in a login form the users name and password in a cookie? The next time the user does visit my site he will already see his login name and password in the input field of the login form. Maybe a check box would be nice to let the user decide weather he accepts cookies or not.<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Save Password

    To set a cookie...<BR><BR>Response.Cookies("user_name") = inputName<BR>Response.Cookies("user_name").Expires = Date() + 7<BR><BR>that cookie will have a life time of one week (eg, 7 days)<BR><BR>To get values from a cookie...<BR><BR>Request.Cookies("user_name")<BR>< BR>HTH<BR>Chris

Posting Permissions

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