>
> I'm not quite clear on how this should work. To restate my problem,
> I have a form that an administrator can submit to kill a logged in
> user, i.e., someone *else's* session. tied returns a ref to
> the object that %udat was tied to, but I still need a way of specifying
> which session I want to kill. This isn't a problem, as I use
> mysql for my session storage, and have another table that associates
> that session with a particular user. Given just the session id
> created by embperl, how can I kill that session?
>
Aah, I see. I had misunderstood your problem....
I think the aproach you tried was right. Just delete the record with session
id from the database. When the user next time comes in he gets a new session
id and %udat will be empty. So you just set something like $udat{login} = 1,
when the session is delete and the user comes again, $udat{login} will be
undef.
Does this work for you or did I miss again something?
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]