Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 54535
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T17:14:07+00:00 2026-05-10T17:14:07+00:00

I am trying to to set up the login control to remember the login

  • 0

I am trying to to set up the login control to remember the login credentials of a user who has previously entered their user name and password successfully. I set the remember me property to true, but it doesnt seem to triger any events where I could read the cookie and auto login the user.

Is there a straightforward mechanism to accomplish this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T17:14:07+00:00Added an answer on May 10, 2026 at 5:14 pm

    You need to Google for Forms Authentication in ASP.NET 2.0

    You will need to set up your application (via web.config) and may also need to alter IIS settings. While it’s all quite straightforward, there are heaps of settings that can be used, so best is to read some of the articles. ScottGu has a blog entry that goes into a lot of good detail.

    There are also many good video’s at http://www.asp.net including these Security Tutorials

    try How to: Create an ASP.NET Login Page and Walkthrough: Creating a Web Site with Membership and User Login. If I recall, you still have to do the authentication yourself unless you use the Sql Server Membership provider. In that case you still have to set up the database and web.config.


    Essentially, once you’ve set up configuration properly, you have a login page. In that login page you tell Forms Authentication to create the authentication ticket for you once you authenticate them:

    if (VerifyUser(name, password) ) // this is not a framework method     FormsAuthentication.RedirectFromLoginPage(         userName, false); // no persistent cookie 

    If you want to read the authentication ticket data (from anywhere else).

    // output just writes to a StringBuilder 'sb'  output(sb, 'Identity.AuthenticationType', Page.User.Identity.AuthenticationType);  FormsIdentity fi = Page.User.Identity as FormsIdentity; if (fi == null) {     output(sb, 'Identity Type', Page.User.Identity.ToString());     return; }  output(sb, 'FormsIdentity.Ticket.IssueDate', fi.Ticket.IssueDate); output(sb, 'FormsIdentity.Ticket.Expiration', fi.Ticket.Expiration); output(sb, 'FormsIdentity.Ticket.Name', fi.Ticket.Name); output(sb, 'FormsIdentity.Ticket.CookiePath', fi.Ticket.CookiePath); output(sb, 'FormsIdentity.Ticket.UserData', fi.Ticket.UserData); output(sb, 'FormsIdentity.Ticket.Version', fi.Ticket.Version); output(sb, 'FormsIdentity.Ticket.IsPersistent', fi.Ticket.IsPersistent); 

    The point is, once authenticated, asp.net will only redirect the user to the login page if the authentication ticket has expired and the user is on a protected page. Asp.net doesn’t keep asking you to authenticate the user unnecessarily.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 65k
  • Answers 65k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer I often use FallbackValue on the binding to have something… May 11, 2026 at 11:17 am
  • added an answer I wonder, what is wrong in using UserVoice in the… May 11, 2026 at 11:17 am
  • added an answer The lines like this are not valid Java syntax: public… May 11, 2026 at 11:17 am

Related Questions

I am trying to to set up the login control to remember the login
I am trying to set up my tab order on the html side of
I am trying to setup tracd for the project I am currently working on.
I am trying to setup a failover location for MOSS. The current farm is
I am trying to work out the best database model for the current setup:
I am trying to set up apache instead of IIS because IIS needlessly crashes
I am trying to set up a simple transaction for my Linq-to-Sql actions against
I am trying to set up a Continuous Integration process. For my various build
Ok, so I am trying to set up a Dispatcher with mod_perl and I
I am trying to set myself up on a mac to learn Ruby on

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.