How To Create A Remember Me Cookie

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Jun 2005
Posts: 50
Reputation: Naters_uk is an unknown quantity at this point 
Solved Threads: 0
Naters_uk Naters_uk is offline Offline
Junior Poster in Training

How To Create A Remember Me Cookie

 
0
  #1
Aug 14th, 2005
I am using aspx.vb to create a login page. I would like to create a remember me cookie using a checkbox that will help to remember user ID but will also allow it to be destroy if a different user ID wants to log in with the same computer, but i have no idea how to start. Any assistance? Thank you! :cry:
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 17
Reputation: cambia is an unknown quantity at this point 
Solved Threads: 3
cambia's Avatar
cambia cambia is offline Offline
Newbie Poster

Re: How To Create A Remember Me Cookie

 
0
  #2
Aug 19th, 2005
You might start with Forms Authentication in .NET. It automates the "remember me" cookie with the following method call.

  1. FormsAuthentication.SetAuthCookie(userName, saveLogin);
Here's a place to begin learning more:
MSDN Documentation for SetAuthCookie Method

Cheers,
- Steve
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the ASP.NET Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC