By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,573 Members | 1,812 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,573 IT Pros & Developers. It's quick & easy.

remember my user name

P: n/a
I want to make a login form, but have a checkbox with a "remember user name"
option to create a cookie on their system to save their user name and place
it into the username text box when they visit the site, how to go about
implementing this? any examples out there? thanks!
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Have you checked with the ASP.NET newsgroup? Just off the top of my head, I
would save a token value (possibly encrypted?) in the cookie and when the
user returns, pull their username out of a record, referenced by the token
value in the cookie, from a database. I wouldn't store username or any
other settings in the cookie itself, as someone might decide to reverse
engineer it at some point... Just my thoughts, but I'm not sure what the
best practices on that are...

"Brian Henry" <br**********@newsgroups.nospam> wrote in message
news:u3**************@TK2MSFTNGP12.phx.gbl...
I want to make a login form, but have a checkbox with a "remember user
name" option to create a cookie on their system to save their user name and
place it into the username text box when they visit the site, how to go
about implementing this? any examples out there? thanks!

Nov 21 '05 #2

P: n/a
accidently sent this to this group, ment it to go to aspnet
"Michael C#" <xy*@yomomma.com> wrote in message
news:eO****************@TK2MSFTNGP12.phx.gbl...
Have you checked with the ASP.NET newsgroup? Just off the top of my head,
I would save a token value (possibly encrypted?) in the cookie and when
the user returns, pull their username out of a record, referenced by the
token value in the cookie, from a database. I wouldn't store username or
any other settings in the cookie itself, as someone might decide to
reverse engineer it at some point... Just my thoughts, but I'm not sure
what the best practices on that are...

"Brian Henry" <br**********@newsgroups.nospam> wrote in message
news:u3**************@TK2MSFTNGP12.phx.gbl...
I want to make a login form, but have a checkbox with a "remember user
name" option to create a cookie on their system to save their user name
and place it into the username text box when they visit the site, how to
go about implementing this? any examples out there? thanks!


Nov 21 '05 #3

P: n/a
Brian,
accidently sent this to this group, ment it to go to aspnet

When you are using the VBNet language for your Aspnet application than is
this as well the right newsgroup.

My answer would have been the same as from Michael by the way.

Cor
Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.