[Seaside] Logging out from a webpage
philippe.marschall at gmail.com
Tue Jul 31 05:01:34 UTC 2007
2007/7/31, Richard Eng <richard.eng at rogers.com>:
> Actually, the #isolate: method is in WAComponent. I can¹t find any
> documentation for it. Looking at the code, I tried to infer the correct
> usage, but I can¹t get it to work.
> I tried sending the message to the object representing the previous page *at
> the time of logout*. No go. (The method requires a block as an argument but
> I have no idea what this block is for, so I passed an empty block.)
> Can someone explain the correct usage of #isolate: ? When to send the
> message? To what object is the message sent? And what's the block argument
Have you looked at the senders like WAStoreTask >> #go? It prevents
going into the block again with the back button once you are outside
If you want to expire the whole session send #expire to the session.
> On Mon, Jul 30, 2007 at 04:12:30PM -0400, Richard Eng wrote:
> > If I ?logout? from a webpage, which takes me to a new webpage, how do I
> > ?invalidate? the previous page or otherwise prevent the user from revisiting
> > it (either through the back button or using history)?
> I would look at WATask's 'isolate' method. This expires previous pages.
> Michael Gorsuch
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
More information about the Seaside