[Seaside] Logging out from a webpage

Richard Eng richard.eng at rogers.com
Tue Jul 31 03:56:52 UTC 2007


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
for?

Thanks,
Richard

---------
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




More information about the Seaside mailing list