PDA

View Full Version : Iframe question



mack1604
Mar 14th, 2007, 09:12 PM
I have an asp application contained within an Iframe. If the browser refreshes, the page within the Iframe reverts back to the login page and the user has to log on again.

Is there a way to keep this from happening if a user clicks the refresh button on their browser?

Kor
Mar 14th, 2007, 09:23 PM
I am afraid not. After all user can use Shift+Refresh, which will force anyway the loading from server. But...you could use a cookie, even I don't think it worth. Cookie can be refused by the user...

mack1604
Mar 14th, 2007, 09:50 PM
Maybe I should try to use CSS div layers to house the pages. I have done that with table content but never an entire .asp page. Any thoughts on that approach?

Kor
Mar 15th, 2007, 08:08 AM
I am afraid it is not possible. You see, the browser's interpretor can not distinguish between close/refresh/new page. For him, all these mean a single event: changing the session. You can not "isolate" the refresh action...