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

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

Re: Statefulness (was ...URL...)

daemon@ATHENA.MIT.EDU (Pat La Claire)
Fri Dec 1 11:57:28 1995

Date: Fri, 1 Dec 95 08:30:22 PST
From: excalib!sparcy!pat@ucsd.edu (Pat La Claire)
To: Norderhaug.CHI@xerox.com, dnew@sgf.fv.com
Cc: www-talk@w3.org
Resent-From: www-talk@w3.org

> > Using the username/password as an identificator for a server-side session
> > state object.
> 
> Unfortunately, the server can't set that.  It would be nice if it could, 
> but you have to get the user to type it in, which can be annoying.
>  --Darren

we're required to have *some* form of access control to our httpd server.  we
require a username/password combination to "login" to our application.  once
login has been authorized, we generate a unique session key to identify this
user in the system until the user either logs out or timeouts.  the session
key is passed between the forms as a hidden field.  our cgi program embeds
the session key in the next form served.  this way we maintain whatever state
information that we need in our application (which is a server that the cgi
calls).  the application maintains a "user thread" that contains lots of stuff,
and is keyed off the session key.

this access control is by not means bullet proof, but all we need at this time.


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