*You can also stop person from refreshing or alert him before moving out of
this page.*
*There is a event called onbeforeunload  in html which you can access using
javascript. as follows :*
*
*
*
window.onbeforeunload = function(){
if(i == 0){
 }else{
 return 'Logout from the page before ... your msg.....';
}
 }

set i = 1 once the user have logout from the application, which will skip
this alert.


*
*
*Regards,
Preetham Hegde




On Wed, Jun 23, 2010 at 8:34 PM, Sarma <[email protected]> wrote:

> Hi to all,
>
>        I am doing small project.In this project am log in to admin
> module at that time am click refresh button, application will be
> reload (that means it exit to admin module with out click to log out
> button).If am press the refresh button that will in the same module.
> How to resolve this problem........... Could you any one help
> me....... Please.........
>                                              Thanks to All.
>
> Regards,
> M Rupananda.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to