session timeout

15 views
Skip to first unread message

Fred

unread,
Apr 3, 2013, 10:22:02 AM4/3/13
to webl...@googlegroups.com
Hello,

i wrote a web app with weblocks and i wish to 
catch session timeout in order to show a specific page
instead of the initial page.

How can i do the trick ?

Thanks
--
Fred

Fred

unread,
Apr 3, 2013, 1:53:03 PM4/3/13
to webl...@googlegroups.com
Sorry for the noise,
i found the answer.

i used the *expiration-action-handler* defvar,
to redefine my own action : a redirect to an "Expired Session" page.

I found too that the default timeout for sessions
is not the weblocks:*request-timeout* defvar
but the hunchentoot:*session-max-time* (1800 seconds).

May be it will help.

Regards
Reply all
Reply to author
Forward
0 new messages