Hi list,
When a session has expired and I try to access my app, I get a "receiver of session is nil" error (I just ignore it and re-try to access the app, then it works).
Is there something I'm doing wrong? How should one handle session expiration? Thanks! Bernat Romagosa.
|
Hi, Which version number of Iliad is it ? I tried it on 0.9.1.1, and it works. Best regards, -- Sébastien AUDIER ObjectFusion S.A.R.L. Applications web, consulting, design http://www.objectfusion.fr |
In reply to this post by Bernat Romagosa
Some code at where the error occurs might be helpful for us. By the way, the documentation's "Managing sessions" section is very helpful. Here is how to handle session expirations: http://doc.iliadproject.org/#Handling-session-expiration
Canol Gökel
|
My version is 0.9.1-SA. I've just tried to inspect a currently active session, run self expire then access the website. Here's the whole stack dump: http://pastie.org/1707998
Maybe I should add I'm running in debugMode, in deploymentMode (of course) I don't get any error, but I still got to refresh the page to access it.
Bernat Romagosa
|
Thanks Nico, I managed to understand it and fix it. I was not implementing onExpire the right way :)
Bernat.
2011/3/30 Nicolas Petton <[hidden email]> IIRC it works this way so the expiring session has a chance to handle |
Free forum by Nabble | Edit this page |