Click to See Complete Forum and Search --> : schedule function or Com


ghena
09-13-2005, 11:24 AM
Hi to all,

I need to know how is possible to schedule an event or an action
when I do simple login without use global.asa.

For example: a user log in and he has only 30 min to compile a form.
If he left before 30 min the system memorize the spent time and the rest could be use in a second access.

On the contrary if he spent all the 30 min the system check and give him an alert.

How can I do it with global.asa or with a com?

Please advice me!
Thanks.

buntine
09-13-2005, 10:41 PM
Make use of the Session_OnEnd routine in Global.asa. Have your sessions expire after 30 minutes (set via IIS).

Public Sub Session_OnEnd()
'| Your code here.
End Sub

Regards.