Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > How do you save persisted (between runs) login information in .NET (c#)?

Reply
Thread Tools

How do you save persisted (between runs) login information in .NET (c#)?

 
 
Tom Jorgenson
Guest
Posts: n/a
 
      07-17-2003
Can anyone give me sample code for creating a persisted (between runs)
cookie that holds the user name and password? Would appreciate it if you
could be specific, since I've been fighting this for a day or two now and
still can't get the cookie to persist (yes, know about the timeout period
property - I've also checked to be sure that the machine allows cookies, and
it does).

Specifically need to know:

1. what type of cookie to create (HttpCookie, Cookie, etc.),
2. how to save it (on the Page.Request, Page.Response, etc.),
3. where to get it on the next program run,
4. and how to access its value(s).

If anyone can give me an answer, I'd really appreciate it. Sample C# code
would be ideal.

Thank you.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
EJB - retrieving the entity you've just persisted (with autogenerated key) ses Java 8 02-25-2011 09:44 PM
Why textbox is persisted when viewstate is off? John Dalberg ASP .Net 2 07-07-2004 05:56 PM
Dataset not persisted on PostBack VB Programmer ASP .Net 2 06-06-2004 03:36 PM
State Persisted Without Session or Application -- Why ? Anthony P. Mancini ASP .Net 8 05-08-2004 02:36 PM
style.display setting not persisted in viewstate Toby Mills ASP .Net 0 06-24-2003 01:55 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57