[Seaside] Looks like redirect creates a new session

Johan Brichau johan at inceptive.be
Wed Nov 18 16:15:15 UTC 2015


Can you share the code how you redirect to the homepage?

The session id is stored in the url, and if you loose that when redirecting, a new session will be created.
This would happen when you are literally coding a redirect instead of using a WATask or a #call:/#answer flow.


> On 18 Nov 2015, at 16:46, bsselfridge at gmail.com wrote:
> I'm new to Seaside. I'm trying to create a "home" page that will contain menu
> bar etc.  But, I'm checking to see if the user has logged in first. If not,
> then I'm redirecting to a login page. I can walk through the login process,
> but when redirecting back to the "home" page the session does NOT have any
> login information in it. It looks to me like a redirect is creating a new
> session object rather than a shared session object. Does anyone know if this
> is true? Any ideas how I should tackle this? 
> I am using Seaside3(topa.278) configuration and Pharo 4.0. 
> Thanks, 
> Brad Selfridge
> -----
> Brad Selfridge
> --
> View this message in context: http://forum.world.st/Looks-like-redirect-creates-a-new-session-tp4861716.html
> Sent from the Seaside General mailing list archive at Nabble.com.
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

More information about the seaside mailing list