Solved

ASP.NET

Posted on 2007-11-28
3
131 Views
Last Modified: 2013-11-26
How do I make a "Remember me" button work so that the asp text box populates with the username on page load instead of just when they start typing?
0
Comment
Question by:lrbrister
  • 2
3 Comments
 
LVL 15

Accepted Solution

by:
Solar_Flare earned 500 total points
ID: 20369603
usually this sort of thing is handled by the browser, eg it asks you if you want to remember the username and then autofills it next time you visit - this is nothing to do with the server.

if you wanted to do this you could perhaps stick the name in a cookie, so that next time the user visits you can grab the cookie from the request and fill in the textbox with that.
0
 

Author Comment

by:lrbrister
ID: 20371128
Solar_Flare:

How do I stick in the cookie?
0
 

Author Closing Comment

by:lrbrister
ID: 31411525
Put me on the right track...but not did not answer my follow-up question.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Convert datetime to time string 10 28
VB.NET 2008 Winforms Signing 13 33
MYSQL responding very slow 3 26
.NET Enums [Flags] & Bitwise Design Question 6 29
A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question