Re: [qooxdoo-devel] Clearing Qooxdoo Page cache on Logout

2008-04-11 Thread Hugh Gibson
> I agree with you Hugh. > > We are doing that only at Login, to re-load the security roles to > control > the Demo Browser tree nodes. > > We simply tell the user to re-login to get new access. :-D I'll stop telling you how to suck eggs then... ;-) Hugh -

Re: [qooxdoo-devel] Clearing Qooxdoo Page cache on Logout

2008-04-10 Thread kanugula
I agree with you Hugh. We are doing that only at Login, to re-load the security roles to control the Demo Browser tree nodes. We simply tell the user to re-login to get new access. Thank you. Kanugula. Hugh Gibson wrote: > >> The best way to clear the cache is >> <% Response.CacheControl =

Re: [qooxdoo-devel] Clearing Qooxdoo Page cache on Logout

2008-04-10 Thread Hugh Gibson
> The best way to clear the cache is > <% Response.CacheControl = "no-cache" %> > <% Response.AddHeader "Pragma", "no-cache" %> > <% Response.Expires = -1 %> That's good for the login page. It's not a good idea to have those settings for everything though. We have a very aggressive caching polic

Re: [qooxdoo-devel] Clearing Qooxdoo Page cache on Logout

2008-04-09 Thread Hugh Gibson
> Depending on the way your app works, you can also prevent caching > (or rather prevent the use of cached files) by adding a request > parameter: > > > > By using a different version parameter each time, the script will > be loaded from the server instead of taken from the cache (because

Re: [qooxdoo-devel] Clearing Qooxdoo Page cache on Logout

2008-04-08 Thread kanugula
Thank you Andreas. These links helped me to fix some of my problems. The best way to clear the cache is <% Response.CacheControl = "no-cache" %> <% Response.AddHeader "Pragma", "no-cache" %> <% Response.Expires = -1 %> Thanks. Kanugula. Andreas Junghans wrote: > > Hi, > > Am 07.04.2008 um

Re: [qooxdoo-devel] Clearing Qooxdoo Page cache on Logout

2008-04-08 Thread Andreas Junghans
Hi, Am 07.04.2008 um 23:12 schrieb kanugula: > It should be 'JSESSIONID' instead of 'jsessionid'. > > Now it finds the cookie, deletes the cookie and shows the Login page. > > I build the Demo Browser tree nodes example, test and performance > using a > map of security Map (Node vs Role) downl

Re: [qooxdoo-devel] Clearing Qooxdoo Page cache on Logout

2008-04-07 Thread kanugula
Thank you. It should be 'JSESSIONID' instead of 'jsessionid'. Now it finds the cookie, deletes the cookie and shows the Login page. I build the Demo Browser tree nodes example, test and performance using a map of security Map (Node vs Role) downloaded at login time, using the following script

Re: [qooxdoo-devel] Clearing Qooxdoo Page cache on Logout

2008-04-07 Thread Andreas Junghans
Hi, Am 07.04.2008 um 20:05 schrieb kanugula: > You are right. I should clear the cookie from IE cache. > > I am a getting a problem here. When the user clicks logout, the > following > code executes. > > function fdm_logout(){ > alert(qx.io.local.CookieApi.get('jsessionid')); >

Re: [qooxdoo-devel] Clearing Qooxdoo Page cache on Logout

2008-04-07 Thread kanugula
Thanks for your reply. You are right. I should clear the cookie from IE cache. I am a getting a problem here. When the user clicks logout, the following code executes. function fdm_logout(){ alert(qx.io.local.CookieApi.get('jsessionid')); qx.io.local.CookieApi.de

Re: [qooxdoo-devel] Clearing Qooxdoo Page cache on Logout

2008-03-31 Thread Hugh Gibson
> I stll see my Page Cache when the IE Back button is pressed. > Do you how to clear the cache? > What will happen if IE Back button is clicked after the cache is > cleared? As far as I can tell, session.invalidate just clears a cookie (though I can't see a javascript version of it). This won'

[qooxdoo-devel] Clearing Qooxdoo Page cache on Logout

2008-03-31 Thread kanugula
Hello, I put a Logout button at the top of Demo Browser. I want to clear the page cache so I can avoid problems occuring due to IE Back button. Qooxdoo 0.7.2 IE 6 Windows XP The code in Logout is <% session.invalidate(); response.sendRedirect("login.jsp"); %> I stll see my Pa