You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Andy Chu <an...@gmail.com> on 2005/09/08 04:01:26 UTC

How to force a browser to reload a history page ?

Dear All,

Suppose now I need to implement this issue: when the client signs out the 
system, he/she can not view any history page of the system through the 
browser and the system will direct him/her to the login page if he/she does 
so.

My idea is :
1. record down the login user in the Visit object;
2. when the session is timeout or the user signs out, system will clear the 
record in the Visit object;
3. force the browser to reload a history page if a user presses the BACK 
PAGE button, thus system can direct him/her to the login page.

My question is: How to implement the 3rd point ?

Best wishes, 
Andy


-- 
我是天空裡的一片雲
偶爾投影在妳的波心

----偶然.徐志摩