[Seaside] Re: Logging out from a webpage

Klaus D. Witzel klaus.witzel at cobss.com
Mon Jul 30 20:47:29 UTC 2007


On Mon, 30 Jul 2007 22:18:57 +0200, Michael Gorsuch wrote:

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

It's also possible to tell the browset to rewrite history, see

- http://www.google.com/search?q=javascript+location.replace+history

for examples. I use that to invalidate the previous page when it can be  
done from a click on a hyperlink.

/Klaus

> Michael Gorsuch
> http://www.michaelgorsuch.org




More information about the Seaside mailing list