Logging off user
From: Jan Pavel (jan.pavel@xio.cz)
Date: 01/24/03
- Next message: Parker Zhang [MSFT]: "RE: Forms authentication doesn't timeout"
- Previous message: Bassel Tabbara [MSFT]: "Re: Access denied ( From one site to another, that is in another server)"
- Next in thread: Mike Moore [Microsoft]: "RE: Logging off user"
- Reply: Mike Moore [Microsoft]: "RE: Logging off user"
- Reply: sergei: "Logging off user"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Jan Pavel" <jan.pavel@xio.cz> Date: Fri, 24 Jan 2003 01:08:44 +0100
Hi,
I have a two WebForms. The first form is login screen. After user is logged
in, he is redirected to the second form. (I use Forms authentication on my
web so user must first log in to get to the second form). On the second
form, I need to set some timeout and when the timeout expires I want to log
off user (need to call System.Web.Security.FormsAuthentication.SignOut()
method).
My problem is that I don't know how to check whether timeout is already
expired or not. I tried to use a timer component but it didn't work. Does
anyone know how to solve this problem ?
- Next message: Parker Zhang [MSFT]: "RE: Forms authentication doesn't timeout"
- Previous message: Bassel Tabbara [MSFT]: "Re: Access denied ( From one site to another, that is in another server)"
- Next in thread: Mike Moore [Microsoft]: "RE: Logging off user"
- Reply: Mike Moore [Microsoft]: "RE: Logging off user"
- Reply: sergei: "Logging off user"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|