doe not seem to change the outcome. My latest session looks like:my $html; if($auth->loggedIn){ $html = showSecretPage($html); } else { $html = showLoginPage(); } $s->flush(); print $s->header; print $html; print STDERR "Found end of script.\n"; 1;
But except for its creation and updating its access time, I'm not storing any data in this session which should require a ->flush(), if I understand this properly -- which I probably don't or I would be refactoring my old script into my new module instead of poking around on perlmonks, I guess.$D = {'_SESSION_ID' => '95886e9532f65d07af0436e5df67808e','_SESSION_AT +IME' => 1223482676,'_SESSION_EXPIRE_LIST' => {},'_SESSION_REMOTE_ADDR +' => '127.0.0.1 ','_SESSION_CTIME' => 1223474594};;$D
In reply to Re^2: Stumbling through CGI::Session::Auth, what am I missing?
by hesco
in thread Stumbling through CGI::Session::Auth, what am I missing?
by hesco
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |