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) downloaded at login time, using the > following script in index.html page. > > <script type="text/javascript" src=".security"></script> > > It downloads and works. But, how do I force it to download a new > version > when the user logs in. I will have to refresh my IE to get the new > version, > otherwise it is getting from cache. Why is it like that? Probably because you're not setting HTTP headers to prevent caching. You should familiarize yourself with browser cache handling and the headers that influence it. You can find an HTTP header reference here: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html IE specifics (why does IE always have to do things its own special way?!): http://support.microsoft.com/kb/234067/EN-US/ 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: <script type="text/javascript" src=".security?version=2"></script> By using a different version parameter each time, the script will be loaded from the server instead of taken from the cache (because the URL is different). This approach is useful if you want the browser to cache a script (for fast access), but to load a new version as soon as it's available. Of course, it only works if you send no-cache headers for the HTML page containing the script tag - otherwise, the old page (containing the old src attribute) is taken from the cache. Regards, Andreas ------------------------------------------------------------------------- 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
