Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Login (ASP.NET)

Status
Not open for further replies.

MickeD

Programmer
Feb 20, 2000
54
I am new to asp.net and I faced some difficulties with the site I want to create.
On the default.aspx page I want to put 2 textboxes ("UserName" and "password") and checkbox "Remember me" for users' login. When user check "Remember Me" he should automatically login on next visit and instead of those textboxes should show Label that reads "Welcome <username>" and button "Log out".(Almost like on this site) As I understand there must be envolved Session Object.
Also I store users' info in access mdb file.
I hope this is pretty standart procedure and someone will have some "ready to use" piece of code. It's kind of urgent project.

Thank you,

Michael
 
It is a bit involved to explain here. You can consult a book like Visual basic.Net by Francesco Balena page 1401 or certain others. You need to have Imports System.web.security and use the Authenticate method of the FormsAuthentication class.


PK Odendaal
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top