Force reload from dtml method
Hi! I'm using GenericUserFolder and at acl_users/docLoginSuccess I redirect to the desired page. How I can forcibly refresh this page? Now, the browser is correctly redirected, but the cached page (login form) is loaded. Browser (NN 4.5, Linux) is set to check the modification date at every access. Thanks in advance! -- SY, Andrey V Khavryutchenko http://www.kbi.kiev.ua/~akhavr Software & SPI Engineer Visit my site Shick's Law: There is no problem a good miracle can't solve.
From: "Andrey V Khavryutchenko" <akhavr@compchem.kiev.ua>
How I can forcibly refresh this page?
Now, the browser is correctly redirected, but the cached page (login form) is loaded. Browser (NN 4.5, Linux) is set to check the modification date at every access.
I'll take a chance on this one. Check out this thread from about 12/27 Re: [Zope] Dumb object aliasing question I was having a similar problem. Which turned out to be Zope not comparing the dates correctly. --Darrell
On 8 Jan 2000, Andrey V Khavryutchenko wrote:
I'm using GenericUserFolder and at acl_users/docLoginSuccess I redirect to the desired page.
How I can forcibly refresh this page?
Now, the browser is correctly redirected, but the cached page (login form) is loaded. Browser (NN 4.5, Linux) is set to check the modification date at every access.
Thanks in advance!
For the default docLogin.dtml, you could change the following: <input type=hidden name="_gufauth_dest" value="<dtml-var SCRIPT_NAME><dtml-var PATH_INFO><dtml-if QUERY_STRING>?<dtml-var QUERY_STRING></dtml-if>"> To: <input type=hidden name="_gufauth_dest" value="<dtml-var SCRIPT_NAME><dtml-var PATH_INFO>?fnord=<dtml-var ZopeTime url_quote><dtml-if QUERY_STRING>&<dtml-var QUERY_STRING></dtml-if>"> This (untested) code should trick all your caches into refreshing the document, as you are passing a parameter with a unique value each time. -- ___ // Zen (alias Stuart Bishop) Work: zen@cs.rmit.edu.au // E N Senior Systems Alchemist Play: zen@shangri-la.dropbear.id.au //__ Computer Science, RMIT WWW: http://www.cs.rmit.edu.au/~zen
participants (3)
-
Andrey V Khavryutchenko -
Darrell -
Stuart 'Zen' Bishop