<< Wy do you want to use cookies ? It's, always, more elegant and clean to
store the clients environmental variables in hidden fields, formated and
sent with the form file requered by each client... You will then be able
to catch the hidden data when the client will post his next request.
This method is fine running, without needing to read or write anything
on the client-side. >>

For most cases, this works fine, but there are advantages to cookies. 
Requests are not always generated by forms- sometimes the user is simply 
clicking on a link which doesn't pass any form data with it. I don't want to 
have to append hidden fields to each of 100 links on a page. With cookies I 
can just look in the HTTP request header whenever I want, without ever adding 
a plethora of hidden fields to anything. Also, cookies can persist across 
sessions, so that the next time the user logs on (perhaps from a new IP 
address), I can recover everything stored in the cookie during the last 
session.

Brian


This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm

Reply via email to