On Sat, Feb 16, 2002 at 05:08:28PM +0100, Gerald Richter wrote:
> > I have found though, that if i delete their session row from
> > mysql, it just sends them another cookie and allows them to continue 
> > their session as if nothing has changed but their %udat{_sessions_id}.
> 
> You should use 
> 
> tied(%udat) -> delete ;
> 
> to delete the session. This cause Embperl to _not_ send a new cookie

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?


Thanks,

Nate Smith


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to