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 8148583
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T14:40:28+00:00 2026-06-06T14:40:28+00:00

I am new to C# Programming. I had drag a login control into my

  • 0

I am new to C# Programming.

I had drag a login control into my website. But the “Remember me” seem not to be working if i didn’t add any codes in.

Anyone can teach me how to implement the “remember me” in c#?

I want it to be when the user revisit the website, he/she type onto the username textbox, the password will be retrieved from the database and display on the password textbox and at the same time the rememberme checked box will be check.

I had been researching this for the code for was for days, but was not fruitful.

Anyone can give me a tutorial on this?

Desperately wanting to know how it works.

Hope to get reply soon.

Thank.

  • 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. Editorial Team
    Editorial Team
    2026-06-06T14:40:29+00:00Added an answer on June 6, 2026 at 2:40 pm

    Anyone can teach me how to implement the “remember me” in c#?

    From MSDN:

    1. If you want the control to display a “Remember me next time” check box, set the DisplayRememberMe property to true. If a user selects the “Remember me next time check box” when he or she logs in, the authentication token will be stored in a persistent cookie in the browser.

    2. If you want the “Remember me next time” check box to be selected by default, set the RememberMeSet property to true.

    3. If you want the authentication token to be stored in a persistent cookie without giving the user the option to clear the “Remember me next time” check box, set the RememberMeSet property to true and set the DisplayRememberMe property to false. This is not recommended for sites that can be accessed from public computers that serve multiple users, as a user’s persistent authentication token could be used by an unwanted user.

    I want it to be when the user revisit the website, he/she type onto the username textbox, the password will be retrieved from the database and display on the password textbox and at the same time the rememberme checked box will be check.

    That’s not how the “Remember Me” checkbox works. All the checkbox does is store an authentication ticket in a cookie in the browser. When the user revisits the site, there is no prompt for login as the authentication ticket already exists, so the user is automatically logged in.

    It’s conceivable that you could modify the login ASCX with some JavaScript to do exactly what you want, but in good conscience I cannot recommend you do that as it would render your site incredibly insecure.

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

Sidebar

Related Questions

I am new to programming but had some spare time and just got a
I'm very very new to programming in Python, but out of necessity I had
I'm new to web programming, but I had an idea I could use as
Hey guys, sorry I'm kind of new to programming, but I had a small
I'm not new to programming, but I am new to game programming. It was
I am not that really new in Programming but in Python I am really
I'm pretty new to android programming, but I've had some people program a widget
Hi I am still pretty new to programming and I haven't had the chance
I am fairly new to programming and I am working with Objective C. I
I think this is a very simple question, but I’m new to programming so

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.