[Catalyst] Weird loss of user in session

Ashley apv at sedition.com
Tue Feb 5 04:03:23 GMT 2008


Solved. I have a theory. I think I had a session persisting from  
before I
turned off verify_address. Maybe? I also went back to short names
"authentication" and "session" instead of the new namespaced Plugin  
style.

In any case, it was apparently PEBKAC.

Thanks for looking.
-Ashley

On Feb 4, 2008, at 7:36 PM, Ashley wrote:

> Using C::P::Authentication I'm having a very weird loss of the user  
> from the session.
> It was working earlier.
>
> It still works on a POST'd login form with no redirect, the user- 
> >obj and
> user_exists are both fine when the page reloads. With a GET reload or
> redirect, however, the user disappears but the session is fine.
>
> I'm using a DBIx::Class::Schema::Loader::make_schema_at() based in- 
> memory model (with
> some real code in classes) right now. I think that's a red herring  
> though as it was
> working before with it and the namespace queries fine in the same  
> code.
>
> What has changed, I think the only thing, is we're doing our test  
> servers through
> proxies. I originally had verify_address:1 set in there but I took  
> it out. Didn't
> help.
>
> Any ideas before I go diving through all the Session code?
>
> Thanks!
> -Ashley
>
>
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/ 
> catalyst at lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/




More information about the Catalyst mailing list