perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject RE: How to start a new session without removing old one?
Date Wed, 08 Dec 2004 08:05:51 GMT
> 
>   I need to give user a new session but I don't want to 
> delete old data for archival purposes - so don't want 
> $r->DeleteSession - what's the right way? User don't need to 
> remember old session, so I can just make a new session and 
> resnd a new cookie, but what is the standard way?
> 

You should be able to start a new session by setting a new session id in

$udat{_session_id}


>   And one more slightly unrelated question - when user log in 
> using  a password I want to give him his old session - how?
> 

Set $udat{_session_id} to his session id


Gerald



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message