Re: browser back button, after logout while using Dispatcher

2012-03-12 Thread gaurav
Thank you Sahpaski, It seems not to be the case of caching if it's caching problem then it would stay on the last page (which was last visited) but it will immediately go back to login page. I added cache-control and the expires in my page but it will not help to much. Thanks & Regards Gaurav P Sin

Re: browser back button, after logout while using Dispatcher

2012-03-12 Thread gaurav
Thanks A lot Taha, well I checked userExist in onActive() method so it sendredirect to login page. I am new in tapestry just started 1 month back. So it is hard to use Apache Shiro so early but I will try later. Thanks & Regards Gaurav P Singh -- View this message in context: http://tapestry.104

Re: browser back button, after logout while using Dispatcher

2012-03-05 Thread Dragan Sahpaski
Also check out this thread on the same topic (back button). http://tapestry.1045711.n5.nabble.com/Browser-Back-Button-td4909542.html#a4917143 The reply from Vangel is very detailed and explanatory. Cheers, Dragan Sahpaski On Mon, Mar 5, 2012 at 5:49 PM, Taha Hafeez Siddiqi < tawus.tapes...@gma

Re: browser back button, after logout while using Dispatcher

2012-03-05 Thread Taha Hafeez Siddiqi
Hi The browser back button usually shows an offline page till you refresh it. So, I don't think it is an issue as long as you are not able to access any secure links from there. Also does your logout page perform a Session#invalidate(), as it will ensure that the session is cleared. Finally,

Re: Browser Back Button

2011-10-21 Thread Vangel V. Ajanovski
On 21.10.2011 11:28, Olga wrote: Maybe does anybody know how clean cache from java file? You forget that your java files run on the server, not in the browser. smime.p7s Description: S/MIME Cryptographic Signature

Re: Browser Back Button

2011-10-21 Thread Cezary Biernacki
Hi, I think you are disabling cache for incorrect page. You must disable caching for all pages that should not be available after logout, but you must do that when pages are sent to browser, not on logout action. Best regards, Cezary On Thu, Oct 20, 2011 at 11:30 AM, Olga wrote: > I've tried >

Re: Browser Back Button

2011-10-21 Thread Olga
If i do clean cache after logout from browser that i have behaviour what i want. After logout i can't to come back to previos paje. Maybe does anybody know how clean cache from java file? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Browser-Back-Button-tp4909542p4924218

Re: Browser Back Button

2011-10-20 Thread Vangel V. Ajanovski
On 20.10.2011 11:30, Olga wrote: but still doesn't work (( You should check first that browser behaves as ordered. See in the settings where is the cache located, clean it before trying and monitor the folder while testing. On the other hand it might be stored in RAM, and I don't how can that

Re: Browser Back Button

2011-10-20 Thread Olga
really nice answer, thanks -- View this message in context: http://tapestry.1045711.n5.nabble.com/Browser-Back-Button-tp4909542p4920896.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-m

Re: Browser Back Button

2011-10-20 Thread Olga
I've tried @Log public Object onActionFromLogout() { request.getSession(false).invalidate(); response.setHeader("Cache-Control", "no-cache,no-store,private,must-revalidate,max-stale=0,post-check=0,pre-check=0"); response.setHeader("Pragma", "no-cache");

Re: Browser Back Button

2011-10-19 Thread Muhammad Gelbana
Very informative Vangel. Thanks. On Wed, Oct 19, 2011 at 6:04 PM, Steve Eynon wrote: > Vangel, > > That's a good articulated answer - I like it! > > It's always a popular topic with management so I'll be sure to > bookmark this comment for future use. Cheers! > > Steve. > > > On 19 October 2011

Re: Browser Back Button

2011-10-19 Thread Steve Eynon
Vangel, That's a good articulated answer - I like it! It's always a popular topic with management so I'll be sure to bookmark this comment for future use. Cheers! Steve. On 19 October 2011 18:06, Vangel V. Ajanovski wrote: > On 18.10.2011 16:30, Olga wrote: >> >> I am noted that with back bro

Re: Browser Back Button

2011-10-19 Thread Vangel V. Ajanovski
On 18.10.2011 16:30, Olga wrote: I am noted that with back browser button we can see all page history, but you can be logout or was logined with other username. Correct behaviour of browser is to not contact server at all when clicking Back button, so the content should be reproduced completely

Re: Browser Back Button

2011-10-19 Thread Olga
Thanks -- View this message in context: http://tapestry.1045711.n5.nabble.com/Browser-Back-Button-tp4909542p4916873.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr.

Re: Browser Back Button

2011-10-18 Thread Muhammad Gelbana
It's in interesting subject. Here is another link http://davidjb.com/blog/2011/03/disabling-caching-for-sensitive-web-pages-aka-how-to-prevent-logged-out-users-going-back Google really has many links for the same subject... On Tue, Oct 18, 2011 at 5:00 PM, Muhammad Gelbana wrote: > If I understo

Re: Browser Back Button

2011-10-18 Thread Muhammad Gelbana
If I understood you right. You don't wan't the browser to cache previous pages. So when a user is for example viewing his profile page, then clicks on the logout link. A click on the back button doesn't show the users's profile. May be just a message from the browser that this page (the user's prof

Re: Browser Back Button

2011-10-18 Thread Olga
I am noted that with back browser button we can see all page history, but you can be logout or was logined with other username. How i can catch this event? Thanks -- View this message in context: http://tapestry.1045711.n5.nabble.com/Browser-Back-Button-tp4909542p4913885.html Sent from the Tap