it's javascript, and

window.onbeforeunload = confirmExit;

function confirmExit()
{
if( $j('#fader').css('display') != 'none')return 'Do you really want to exit?';
}

I used jquery for this of course. What I did is I set a flag. A semi transparent black background that opens when I am in a place where i don't want to exit.

On 6/25/2014 1:28 PM, Skellington wrote:
Hello,
Is there a tag or function to detect a page reload? I found that if someone reloads my main index.cfm their session which is supposed to be expired is extending the session. If someone hits reload I would like to log them out.

Thanks,
Charlie
--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en

---
You received this message because you are subscribed to the Google Groups "Open BlueDragon" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en

--- You received this message because you are subscribed to the Google Groups "Open BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to