R
Robert Scheer
Hi.
My site needs to know if the user is connected before executing some
queries on my database. Actually, I have a page loaded by an Iframe
that runs every 30 seconds and updates a field on my database to tells
me the user is connected. If this field is not updated for more than
one minute I consider the user disconnected.
The problem is, if that page does not load for any anormal reason (an
IIS error like Page Could not be Loaded, for example), my database
won't be updated, but the user is connected!
What is the best way to detect a user is connected on your site? I read
about an element on the Machine.config file called
clientConnectedCheck. Can it be used for that kind of verification?
Thanks,
Robert Scheer
My site needs to know if the user is connected before executing some
queries on my database. Actually, I have a page loaded by an Iframe
that runs every 30 seconds and updates a field on my database to tells
me the user is connected. If this field is not updated for more than
one minute I consider the user disconnected.
The problem is, if that page does not load for any anormal reason (an
IIS error like Page Could not be Loaded, for example), my database
won't be updated, but the user is connected!
What is the best way to detect a user is connected on your site? I read
about an element on the Machine.config file called
clientConnectedCheck. Can it be used for that kind of verification?
Thanks,
Robert Scheer