On Sun, 28 Nov 2004 11:55:09 -0300 (ART), Michel Thadeu
>According to the Session.py my client must hve cookies enabled to be
>able to use session. Is there a way to bypass this feature, I have too
>much problems with IE and generally the user don't know even what means
>I wish to avoid saying the user he must enable cookies, is there an
In my experience, most users run with cookies enabled. The only folks
who don't are generally sophisticated enough to know how to turn them on
for one site.
>I think I partially solved my own question... The method sessionEncode
>converts a url to a url+_SID_...
>This can be usefull, but all links I wrote I need to change to this new
>way... Is there an easier way than passing explicitly the _SID_ over
But seriously, look at the problem from a higher level. In order to do
sessions, you have to have some way to uniquely identify the particular
person, so you can match them up with a session. To do that, the
browser has to be passing you some piece of unique information. With
HTTP/HTML, there are three ways to do that: (1) cookies, (2) extra
information in the URL, (3) extra information in a POST hidden
variable. #2 and #3 can both be quite messy.
If I was doing a mass-market eCommerce site, I would probably have
fallback code to try all three options. For anything less than that, I
don't mind requiring cookies.
- Tim Roberts, timr@...
Providenza & Boekelheide, Inc.