Hi Rodrigo again,

Umm, actually you should just need to generate a new key each time the search form is submitted for a new search.

Cheers

Richard

Richard Kirby wrote:
Hi Rodrigo,

What you will need to do is ensure that caching is disabled for the pages that use this key idea. Then CTRL-N or File | New Window should cause the browser to refresh from the server - they will request the same url as the original page, so that allows you to detect that a new key is needed. Search the mailing list/wiki for tips on turning off browser caching (basically a delegate to your Shell component that sends the appropriate headers to tell the browsers not to cache the page).

For you example, the search page should basically always generate a new key, whilst the results page will just pass back the key. This should then mean that everytime a browser goes to the search page, because it is not cached it will poke the server which will then return a new search page with a new key, and you should then be sorted!

Cheers

Richard

Rodrigo Barberá wrote:
Hi Richard!

Thank you for your reply. It sounds like a very good solution to my problem.

However, I can't find out a way to generate a new key when the user hits CTRL-N or clicks 'File | New Window' and a new window is open. Any ideas?

Thanks a lot in advance!

Rodrigo



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to