Looking for advice
-
i want to save some flage in the Application as Application["ID"]; i want to delete this Flag when the session ends but when the user clicks (X) button in the browser the Session_End lates i heared that Session.TimeOut is 20 minutes as Default. i dont have problem when the user Clicks SignOut coz i will delete the Flag immediatly. how can delete this flag immaediatly when he Clicks (X). the whole purpose is to prevent the users to log in from defferent Sessions at the same time regards
-
i want to save some flage in the Application as Application["ID"]; i want to delete this Flag when the session ends but when the user clicks (X) button in the browser the Session_End lates i heared that Session.TimeOut is 20 minutes as Default. i dont have problem when the user Clicks SignOut coz i will delete the Flag immediatly. how can delete this flag immaediatly when he Clicks (X). the whole purpose is to prevent the users to log in from defferent Sessions at the same time regards
You can use AJAX to tell you when a user closes the browser. That's your only option. It won't work if the computer loses power, then you can't do anything.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
i want to save some flage in the Application as Application["ID"]; i want to delete this Flag when the session ends but when the user clicks (X) button in the browser the Session_End lates i heared that Session.TimeOut is 20 minutes as Default. i dont have problem when the user Clicks SignOut coz i will delete the Flag immediatly. how can delete this flag immaediatly when he Clicks (X). the whole purpose is to prevent the users to log in from defferent Sessions at the same time regards
go for Ajax
Regards Sean http://www.codepal.co.nr