Re: [Catalyst] Weird loss of user in session

2008-02-05 Thread Matt S Trout
On Mon, Feb 04, 2008 at 08:03:23PM -0800, Ashley wrote:
 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.

Don't do that.

The old-style will stoip being supported sooner or later.

-- 
  Matt S Trout   Need help with your Catalyst or DBIx::Class project?
   Technical Directorhttp://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://chainsawblues.vox.com/http://www.shadowcat.co.uk/servers/

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Weird loss of user in session

2008-02-04 Thread Ashley
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@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/ 
catalyst@lists.scsys.co.uk/

Dev site: http://dev.catalyst.perl.org/



___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/