User logged in (and logged in on all pages)


If i get a user to log in, after entering there username and password, when they go to other pages, how do i keep them logged in??? like this site, it says at the top, logged in as:Breenan, and cant see my username in the url address bar....
Any help????

Thanks again.
0 Breenan 12/2/2003 5:36:54 PM
There are many ways to store state information besides in a querystring (which shows up in the address bar)...

One common one is a Session variable which acts like a global variable for the entire application. The name could also be gotten from the database, every time the page loads, or it could even be stored in a cookie.
All these methods will save the username or any other info accross all pages of a web application...
hope this clears things up,
My Weblogs
0 sivilian 12/2/2003 6:12:19 PM

(Thread closed)