Error while : Conformation before closing the Application

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • veera Anil
    New Member
    • May 2007
    • 1

    #1

    Error while : Conformation before closing the Application

    I have a small requirement..

    if the user dint sign off or log off then he try's to close the browser IE clicking on 'X' (top right of IE or Firefox browser ) then i need to ask a conformation message like "Are you sure you want to close ?" ...
    I am using Master page in my application and i tried the event : "window.onbefor eunload " in my master page its works fine, shows an alert(conformat ion) message. but if i press back button on the browser(IE on IE or Firefox) then also its firing(but it should not) is there any way to full fill my requirement ..I hope i had explained u clearly...if not pl z let me know........
    Attached Files
Working...