
January 25th, 2001, 09:34 PM
|
|
Junior Member
|
|
Join Date: Jan 2001
Location: Pheonix, AZ
Posts: 3
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
url encoding alternatives
URL encoding is nice for both users (because they can bookmark it, email it to friends, switch between browsers, and so forth) and for servers (because it's not tied ot a particluarl server if you're load balancing), but it does make a big ugly URL. In particular although Netscape and others allow around 8k of data in the url, Internet Explore limits you to 800 bytes, I believe.
Anyways, cookies and sessions are both good ways to do what you want. You can stuff as many vars as you want into the session and then keep track of what session they have either via a cookie stored on their system or via an ID in the URL, which is a little easier on the eyes and shorter. However, they gives you some more instability (if webserver restarts, they are forced back to logon page, for example) and peopel don't like cookies anyways.
|