[5624] in www-talk@info.cern.ch

home help back first fref pref prev next nref lref last post

Re: access and session control

daemon@ATHENA.MIT.EDU (Rick Troth)
Thu Sep 15 15:05:18 1994

Date: Thu, 15 Sep 1994 20:46:03 +0200
Errors-To: listmaster@www0.cern.ch
Errors-To: listmaster@www0.cern.ch
Reply-To: troth@rice.edu
From: Rick Troth <troth@rice.edu>
To: Multiple recipients of list <www-talk@www0.cern.ch>

>     ...  The program will also add some a session key
> to the URL.  For example, if a document contained the following:
> 
> <A HREF=http://foo.bar/baz.html>  (where my server is running on foo.bar)
> 
> this might be rewritten as:
> 
> <A HREF=http://foo.bar/cgi-bin/access?file=baz.html+session_key=SK>
> 
> (where SK is the session key which gets passed around)
> 
> The web server while keep state associated with the session key.
 
	I'd avoid putting state information after the question mark. 
Some clients will strip it in some cases/places.   A better place for 
state information is between the question mark and a preceeding comma 
or semi-colon,  like  
 
	http://foo.bar/cgi-bin/access,file=baz.html+session_key=SK?... 
 
> I assume that similar things have been done.  Does anyone have any pointers?
 
	Yes.   Look at 
 
	http://vm.rice.edu/local/problem,list?assignee=troth&status=open 
 
	Its "links" will have a  ",read"  instead of a  ",list". 
Here,  the state information is whether you're listing a range of problem 
records or examining a single problem record. 
 
> --Dan Aronson   dan@wais.com    
> WAIS Inc
 
-- 
Rick Troth <troth@rice.edu>, Rice University, Information Systems 


home help back first fref pref prev next nref lref last post