Accessing BL function on Browser close
-
Hi In my application I have to update the status of a Employee on Log out method... But i am facing the problem while he closes the browser instead of login... I want to access BL function on Browser window closed. Please help me out in solving this issue Thanks in advance
-
Hi In my application I have to update the status of a Employee on Log out method... But i am facing the problem while he closes the browser instead of login... I want to access BL function on Browser window closed. Please help me out in solving this issue Thanks in advance
shru_09 wrote:
I want to access BL function on Browser window closed.
1 - do AJAX call to the server when window is closing. But it uses JS hence not reliable. 2 - You need to keep the last request time from the client on database. Run a scheduled job (sql server job) and update status of the employee if his last request time is more than your desired timeout limit. Second method seems to be more reliable to me.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions
-
shru_09 wrote:
I want to access BL function on Browser window closed.
1 - do AJAX call to the server when window is closing. But it uses JS hence not reliable. 2 - You need to keep the last request time from the client on database. Run a scheduled job (sql server job) and update status of the employee if his last request time is more than your desired timeout limit. Second method seems to be more reliable to me.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions
-
shru_09 wrote:
pl/sql...
Ohh, Oracle DB ? I guess it supports. I got this[^] on when I did a search.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions
-
shru_09 wrote:
pl/sql...
Ohh, Oracle DB ? I guess it supports. I got this[^] on when I did a search.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions
-
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
Hi In my application I have to update the status of a Employee on Log out method... But i am facing the problem while he closes the browser instead of login... I want to access BL function on Browser window closed. Please help me out in solving this issue Thanks in advance
Would this help you? http://www.dotnetjunkies.com/WebLog/familjones/archive/2004/04/06/10884.aspx[^]
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson