Logging off user

From: Jan Pavel (jan.pavel@xio.cz)
Date: 01/24/03


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 ?



Relevant Pages

  • Re: Linked Form Not Allowing New Records
    ... Consider using a tab control and putting a subform on each tab. ... That will mean that you can only use the second form when the first is ... record on the first form when it was originally opened. ... Rick Brandt, Microsoft Access MVP ...
    (microsoft.public.access.forms)
  • Re: Linked Form Not Allowing New Records
    ... have too many subforms to fit on one main form and be usable. ... Rick Brandt wrote: ... That will mean that you can only use the second form when the first is open ... record on the first form when it was originally opened. ...
    (microsoft.public.access.forms)
  • RE: Requerying form 1 after creating new record in form 2
    ... After doing a lot more digging in these forums, I found the answer, and ... I automatically opened a second form to enter new records. ... get the second form record to save and b) could not get the the first form to ... then be able to populate the appropriate bound control in frmLast_Updated. ...
    (microsoft.public.access.formscoding)
  • RE: Carrying a field value to another form
    ... Pass the first form's key in the OpenArgs argument of the OpenForm method. ... Refer to a control on the first form to obtain the value. ... I suggest the BeforeInsert event because it fires immediately after the ... > record passed to the second form to select the same record for updating. ...
    (microsoft.public.access.forms)
  • Re: Linked Form Not Allowing New Records
    ... That will mean that you can only use the second form when the first is open ... and if you open the second form, navigate to a new record, and then navigate ... record on the first form when it was originally opened. ... linked form is not as robust as a real subform in this regard. ...
    (microsoft.public.access.forms)