Displaying 1 result from an estimated 1 matches for "pleaselogin".
2007 Sep 25
13
Session cookies not passed on first redirect
...and) everything is fine and dandy.
Herre is the service in question - if I do it like this the session
is regenerated when the user lands on the signon page And the page he
is redirected from was his first one
in the session
def service(*a)
begin
return super(*a)
rescue PleaseLogin
redirect R(Pasaporte::Controllers::Signon, @nickname)
return self
end
self
end
And this version works in all cases:
def service(*a)
begin
return super(*a)
rescue PleaseLogin
@headers[''Set-Cookie''] = ''campin...