[Seaside] Seaside 3 in VisualWorks 7.7

Alberto Bacchelli alberto.bacchelli at usi.ch
Thu Mar 11 07:53:19 UTC 2010


Oh.

Julian you are *completely* right: after I click on a link in the page,
the session stops expiring if I refresh using the browser.

Thank you very much!
And I apologize for my ignorance :(

Alberto


On 3/10/10 11:11 PM, Julian Fitzell wrote:
> Oh, hang on. If you haven't clicked on a link, then yes, this is
> normal (if not always desired) behaviour. The only way to avoid this
> is to redirect as the very first action when starting a session. Many
> people don't want this because it adds a redirect and results in the
> session key being in the location bar if someone decides to bookmark
> the initial page.
>
> http://code.google.com/p/seaside/issues/detail?id=364
>
> You can get around this by calling "self requestContext redirect"
> somewhere like your root component's #initialRequest: method (I think
> that should work there... untested).
>
> Julian



More information about the seaside mailing list