Forum Moderators: open

Message Too Old, No Replies

Frames and Refresh

another wrinkle

         

txbakers

3:35 pm on Oct 19, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



it's a long story, but I have my site/app embedded in the bottom frame of a frame set, set to 100%, while the top frame is 0%

Now, when the user clicks Refresh or F5, the page refreshes back to the original frameset description. Of course, a right click refresh on the frame itself refreshes the proper frame.

Other than adding a "refresh" button to every screen, is there a way around this?

lazerzubb

3:39 pm on Oct 19, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Wouldn't

<frame src="page.html?refresh=true">

do?

that makes sure the latest page is collected.

txbakers

5:43 pm on Oct 19, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'll give it a try! Thanks.

Nope, didn't work, still returned to the "src" page.

The top frame is 0%, which has some ASP code to execute on the onUnload method, when the user closes the browser without "logging out"

The bottom frame is the actual program. There is code there to catch when the user clicks the exit button. However, most users aren't clicking the exit button - they just leave.

What I am doing is trying to build a way to track users on the site. They have to login, which write a record to the DB. When they logout I want to write another line.

Can't use the onUnload on every page.

I'll try playing with Session Variables if this doesn't work.

Thanks for the help.