HTTP state management without cookies?

Paul Rubin phr-n2002a at nightsong.com
Thu Feb 21 09:19:24 EST 2002


Geoffrey Talvola <gtalvola at nameconnector.com> writes:
> I didn't express myself properly.  What I meant is, in a CGI application if
> you're including the session ID in the query string, then you have to make
> sure all of your relative links within the site are constructed to include
> that session ID.  In other words, your links will have to be written like:
> 
> '<a href="SomeOtherScript.cgi?_SID_=%s">Link to Some Other Script</a>' %
> sessionID

No no, that's what the BASE tag does for you.  It maps

  <a href=SomeOtherScript.cgi>

into a request to http://yoursite.com/_SID_=12345/SomeOtherScript.cgi.

You then use a server side rewrite rule to map the SID path component
into a query parameter.



More information about the Python-list mailing list