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.
<script type='text/javascript'>
        function fdm_logout(){
            alert(qx.io.local.CookieApi.get('jsessionid'));
            qx.io.local.CookieApi.del('jsessionid');
            window.location.href='logout.jsp';
        }
</script>

I don't see 'jsessionid' in the cookie. How do I delete/access the cookie
using qooxdoo API. What are the cookies I should delete?

Thank you.
Kanugula.


Hugh Gibson wrote:
> 
>> 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't clear the browser cache. I don't know of any way of doing that
> in JavaScript (and wouldn't want it to be able to!)
> 
> You have to write specific support for disabling use of the back button.
> We handle it here by allocating a cookie with session ID when the user
> logs in, and then on logout clearing that cookie. Also, the server marks
> the cookie as invalid. So if the user tries to go back the server refuses
> any request and the page will show an error.
> 
> The other issue with browser cache is to do with what happens if you
> update your application - how do you get the browser to use the new
> version of your javascript? We built into the URL a version number and
> the login page automatically directs the user to the latest version. When
> the version number changes the browser will download all the application
> files again as the URL is different.
> 
> Hugh
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Clearing-Qooxdoo-Page-cache-on-Logout-tp16396160p16538145.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to