Todd Wade wrote:

----- Original Message ----
From: Richard Jones <[EMAIL PROTECTED]>
Hope someone can help with this. I'm having a major headache with authentication and sessions.

In the CGI::Session docs there is a mention of session->flush, and if I use this in teardown(), then sessions do start to work, providing I use $self->session_delete after logout. Odd because I've never had to use session->flush before.

I might have not noticed, but someone asked what your environment was but you 
haven't replied with it yet?

Anywhoo... I'd probably bet a big chunk of change that you have a circular ref 
somewhere thats keeping the session from going out of scope.


Yes I replied to that, but only a few mins before your message appeared so you probably weren't able to see it. The problem manifests under both persistent (mod_perl & CGI::App::Server) and non-persistent (WWW::Mechanize) envs.

A circular ref sounds like an interesting possibility though - how would I track something like that down?
--
Richard Jones

#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################

Reply via email to