Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cookie alternative?

Status
Not open for further replies.

zeero

Programmer
Aug 4, 2004
60
US
I have a static user page but would like to have it display the user's first name in the corner. Is there a way of doing this without cookies? I have a database with the information I need so I can make a call and display the information needed as a result set, but was wondering if cookies were the only way to go about this.
 
sorry, forgot to add when I say cookies I mean sessions as well.
 
So ... I take it that when a "user" logs in or whatever, you need a method to persist the user state through your web application.

Your options are :

- sessions
- cookies
- carrying the info through via URL info (probably hidden - ie <input type="hidden" name="username" value="whatever">)

Thats it ... take your pick !



--------------------------------------------------
Free Database Connection Pooling Software
 
I was afraid of that... didn't know if there was some sort of other way I couldn't think of. Thanks sedj.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top