Session expiring

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Session expiring

Karsten Kusche
Hi,

I've got a small application that allows the user to register. This is
implemented as a task and it has two main components. One for the actual
registration and one to say "Thank You!".

Is it possible to make the user's current session expire once the Thank
You component is shown? If I tell the session to expire inside the
execution phase when i switch the components, then a new session would
be created when the component is rendered. Can I make the session expire
at the end of the rendering phase?

Kind Regards
Karsten

 

--
Karsten Kusche - Dipl.Inf. - [hidden email]
Tel: +49 3496 21 43 29
Georg Heeg eK - Köthen
Handelsregister: Amtsgericht Dortmund A 12812

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Session expiring

Julian Fitzell-2
Actually, I'm not sure but I hate the behaviour of the session
auto-registering itself. I was having the same problem while working
on cleaning up session expiry in 2.9. If you unregister the session
from the application, the session ends up just re-registering itself
with a new key. Very annoying and I think we need to fix that so the
application registers the session when it is created and not allow the
session to register itself.

Julian

On Fri, Oct 17, 2008 at 6:28 PM, Karsten <[hidden email]> wrote:

> Hi,
>
> I've got a small application that allows the user to register. This is
> implemented as a task and it has two main components. One for the actual
> registration and one to say "Thank You!".
>
> Is it possible to make the user's current session expire once the Thank You
> component is shown? If I tell the session to expire inside the execution
> phase when i switch the components, then a new session would be created when
> the component is rendered. Can I make the session expire at the end of the
> rendering phase?
>
> Kind Regards
> Karsten
>
>
>
> --
> Karsten Kusche - Dipl.Inf. - [hidden email]
> Tel: +49 3496 21 43 29
> Georg Heeg eK - Köthen
> Handelsregister: Amtsgericht Dortmund A 12812
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside