|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
remember my user nameI 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! 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... Show quoteHide quote "Brian Henry" <brianiupmsdn@newsgroups.nospam> wrote in message news:u3gablLMFHA.1172@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! > accidently sent this to this group, ment it to go to aspnet
Show quoteHide quote "Michael C#" <x**@yomomma.com> wrote in message news:eOoo%23pLMFHA.1176@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" <brianiupmsdn@newsgroups.nospam> wrote in message > news:u3gablLMFHA.1172@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! >> > > 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
Anyone tried REALbasic?
ArrayList Strongly Typed VB6 easier than VB.NET? Datagrid colum sorting problem - URGENT How to implement ComboBox.FindValue HELP! Cannot start NEW project Windows Form DataGrid - Need A Color Border Around Only The Selected Row - Will GDI Be Required vb.net dll VB6 to VB.NET dlls Cookies working on intranet but NOT working on Internet |
|||||||||||||||||||||||