You can achieve this in a few different ways. One of them is to set and monitor a flag (with timeout) when a user logs in. Better yet, you may want to combine this check with session_end.
Hope this helps,
Appan
ASP.NET Team
This posting is provided "AS IS" with no warranties, and confers no rights.