Displaying 1 result from an estimated 1 matches for "camping_sid".
2007 Sep 25
13
Session cookies not passed on first redirect
...eLogin
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''] = ''camping_sid=%s; path=/'' %
@cookies.camping_sid
redirect R(Pasaporte::Controllers::Signon, @nickname)
return self
end
self
end
Of course the service is included before Camping::Session so the
session service should wrap.
Has someone observed this behavior? Why is i...