ASP.NET - How to set Remember Me in a Login Page

Asked By Caleb 05
03-Nov-09 01:56 AM
Hello Frnd's...

Can anyone say how to set Remember Me in login page,When an user login once and check the checkbox that remember me,It should be stored.When he login again by giving username automatically it should fletch his password and make him to login.Aid me frnds to do this process.Awaiting for ur reply Experts...

Tks in Adv....

Caleb05

Most people do this with cookies  Most people do this with cookies

04-Nov-09 08:55 AM
Whenever the person logs in, you set some sort of cookie.  Then, when the user hits the site again and is not logged in, you read the value of the cookie and attempt whatever login procedures your site uses.
Create New Account
help
Net hi friends Any one send frequently asked Important questions in C# .Net, ADO .Net, Asp .Net and Sql Server. . . . . . . . tx in Advance. . . . . . Hi, Find this. . (B)What is an IL? (B A) What is scavenging? (B) What are different types of caching using cache object of ASP.NET? (B) How can you cache different version of same page using ASP.NET cache object? (A) How will implement Page Fragment Caching? (B) Can you compare ASP.NET sessions with classic ASP? (B) Which are
strCon = ”data source = IBM-6BC8A0DACEF;initial catalog = pubs;integrated security = SSPI;persist” +” security info = False;user id = sa;workstation id = IBM-6BC8A0DACEF;packet size = 4096?; String strCom1 = ”SELECT * FROM employee”; SqlDataAdapter new OleDbConnection ( “Provider = Microsoft.Jet.OLEDB.4.0;”+ _ “Data Source = C: \ Documents and Settings \ User \ My Documents \ Visual Studio Projects \ 1209 \ db1.mdb”+ _ “User ID = Admin;”+ _ “Password = ;”); Dim cmd As New OleDbCommand(”Products”, cn) cmd.CommandType = CommandType.StoredProcedure in Sql server as var_name int How do you separate business logic while creating an ASP.NET application? There are two level of asp.net debugging 1. Page level debugging For this we have to edit the page level debugging enable the trace
web plz send me details with code in vb best benifit of the session is user based mean u can differentiate login user in different way • Process independent. ASP.NET session state is able to run in a separate process from the ASP.NET host process. If session state is in a separate process, the ASP.NET process can come and go while the session state process remains available. Of course
Registration Access Levels Hi, I have two users. 1- Student 2-Administrator In my registration page, both student and administrator have to register . How to set access level to them and roles. . you should hide some contentMenustrips by checking the role field in table. . first check login name and password. . if its correct then check this role field. . if its student then will help you! Could you give me an example, I dont get it. . use the asp.net membership and roles api ( configure database to enable this) use link below to configure this your application(student and administrator) register all the students with student role after that use login view control to show hide then content appropriate to the logged in user's role. see you have menus in your MDI form rite? now at the end forms which you want to access only by name. . . now at the run time first login form will be run and then you will check username and password. . and there you Id" ); txtuname.Focus(); return ; } else { this .Hide(); Main m = new Main (); / / Hide the AdminMenuStrip if user is not admin if (txtuname.Text ! = "Admin" ) { m.AdminStripMenuItem.Visible = false ; } m.Show(); } } first u
What is CMS? A content management system ( CMS ) is a system providing a collection of procedures used to manage work flow in a collaborative environment. These procedures can be manual or computer-based. The procedures are designed to do the following: • Allow for a large number of people to contribute to and share stored data • Control access to data, based on user roles (defining which information users or user groups can view, edit, publish, etc.) • Aid in easy storage and retrieval of data • Reduce of a CMS. An easy to setup and use, no-frills content management system with asp.net and MS Access. If you need to setup a small site, or quickly add some folder somewhere in your website structure, and assuming you have default.aspx and a "default page" in IIS. Then when you browse to the folder you should get the page that