Changing slidingExpiration at runtime

Discussion in 'ASP .Net' started by milop, Mar 24, 2008.

  1. milop

    milop Guest

    Hello.

    I have a Forms authenticated site and, similar to what OWA provides, have a
    "Public Computer" and "Private Computer" radio buttons.

    For Public I want to set slidingExpiration to False and change the timeout.
    For Private I want to set slidingExpiration to True and change the timeout.

    How can I do this at runtime? The slidingExpiration property of the
    FormsAuthentication class is ReadOnly.

    Thanks in advance,

    Mike
    milop, Mar 24, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tobe

    Changing properties at runtime.

    Tobe, Oct 15, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    372
    John Saunders
    Oct 16, 2003
  2. Hal Vaughan
    Replies:
    11
    Views:
    1,107
    Gordon Beaton
    May 22, 2006
  3. Alessandro Zucchi

    problem with slidingExpiration

    Alessandro Zucchi, Mar 4, 2005, in forum: ASP .Net Security
    Replies:
    4
    Views:
    238
    Alessandro Zucchi
    Mar 9, 2005
  4. Arne

    slidingExpiration broken

    Arne, Apr 11, 2005, in forum: ASP .Net Security
    Replies:
    0
    Views:
    108
  5. Replies:
    0
    Views:
    194
Loading...

Share This Page