hesco has asked for the wisdom of the Perl Monks concerning the following question:
I have been ignoring for some time that even those sessions which do get written to /tmp/sessions, seem to ignore the fact that I've set and flush'd session parameters, presumably into those files.
Can anyone with a bit more of a handle on how to use CGI::Session shed some light on a path forward, please?
Thanks,
-- Hugh Esco
$self->{'s'}->param('username',$username); $self->{'s'}->param('uid',$acct_user->{'userid'}); $self->{'s'}->param('account_code',$acct_user->{'account_code'}); $self->{'s'}->flush(); my $redirect = 1; my $url = $self->{'cfg'}->param("www.dashboard") . '?CGISESSID=' . $se +lf->{'s'}->id(); $html = $self->{'q'}->redirect( -uri => $url, -status => 303 ); print $self->{'s'}->header() unless($redirect); print $html,"\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CGI::Session->flush() fails to store session data in file store
by almut (Canon) on May 30, 2009 at 17:20 UTC | |
|
Re: CGI::Session->flush() fails to store session data in file store
by shmem (Chancellor) on May 30, 2009 at 17:25 UTC | |
|
Re: CGI::Session->flush() fails to store session data in file store
by Anonymous Monk on May 31, 2009 at 08:42 UTC | |
|
Re: CGI::Session->flush() fails to store session data in file store
by hesco (Deacon) on Jun 01, 2009 at 15:17 UTC | |
by Anonymous Monk on Jun 03, 2009 at 17:04 UTC |