Meaning Of Timeout In FOrms Authentication..????

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Meaning Of Timeout In FOrms Authentication..????



    does Timeout deletes automatically the cookie in the clients browser

    i relied on forms cookie to authenticate the user
    and had set timeout to i min
    but even after i1 min
    user is authenticated ...
    so we cannot use only forms cookie
    is it true

    only on signout method it deletes the cookie from client
    not on timeout??????????????





    --
    Thanks and Regards,

    Amit Agarwal
    Software Programmer(.NET)


    ---
    Outgoing mail is certified Virus Free.
    Checked by AVG anti-virus system ([url]http://www.grisoft.com[/url]).
    Version: 6.0.580 / Virus Database: 367 - Release Date: 2/6/2004


    .NET Follower Guest

  2. Similar Questions and Discussions

    1. forms authentication cookie not timeout
      I customized the cookie generation in forms authentication so I can keep extra data in the cookie. but the problem now is that my forms...
    2. Accessing htm files without authentication (forms authentication)
      I have application with forms authentication. All works fine. When user opens .aspx file gets login form, login and then get the .aspx page. But...
    3. Forms authentication in WebServices and timeout
      Hi, I am having an issue with forms authentication and timeout. I created a simple web application and a web service based on the example in...
    4. Forms-based authentication expires before timeout
      Hi, I'm having a problem with the forms-based authentication. The user is getting timed out before long before the timeout period has passed....
    5. Forms Authentication timeout doesn't work
      I am trying to do some testing of my application with respect to timeouts (i.e. Session timeouts). I took the advice of somebody else in this...
  3. #2

    Default Re: Meaning Of Timeout In FOrms Authentication..????

    Hi,

    You should take into account two things (at least) when you use Forms Auth
    regarding to cookie issues.

    1) Persistent cookies do not time out, so watch out for
    "createPersistentCookie " argument in RedirectFromLoginPage method.

    2) As the documentation specifies, if the SlidingExpiration attribute is
    true (this is the default in v1.0 and false in v1.1), the timeout attribute
    is a sliding value, expiring at the specified number of minutes after the
    time the last request was received and be aware that the cookie is updated
    when more than half the specified time has elapsed (not immediately after
    the request was received).

    --
    Hernan de Lahitte
    Lagash Systems S.A.




    ".NET Follower" <amitagarwal-NET@SoftHome.net> wrote in message
    news:eC4WVAT7DHA.712@tk2msftngp13.phx.gbl...
    >
    >
    > does Timeout deletes automatically the cookie in the clients browser
    >
    > i relied on forms cookie to authenticate the user
    > and had set timeout to i min
    > but even after i1 min
    > user is authenticated ...
    > so we cannot use only forms cookie
    > is it true
    >
    > only on signout method it deletes the cookie from client
    > not on timeout??????????????
    >
    >
    >
    >
    >
    > --
    > Thanks and Regards,
    >
    > Amit Agarwal
    > Software Programmer(.NET)
    >
    >
    > ---
    > Outgoing mail is certified Virus Free.
    > Checked by AVG anti-virus system ([url]http://www.grisoft.com[/url]).
    > Version: 6.0.580 / Virus Database: 367 - Release Date: 2/6/2004
    >
    >

    Hernan de Lahitte Guest

  4. #3

    Default Re: Meaning Of Timeout In FOrms Authentication..????

    I don't know if I'm missing something here but if the user tries to access
    any page after 1 minute, he will be redirected to the specified logon page.
    This is assumed, based on a config setting like this:

    <authentication mode="Forms">
    <forms loginUrl="Login.aspx"
    protection="All"
    path="/"
    timeout="1"
    slidingExpiration="true"/>
    </authentication>
    <authorization>
    <deny users = "?" />
    <allow users= "*" />
    </authorization>

    Please, tell me more details about the problem in order to help you out.

    --
    Hernan de Lahitte
    Lagash Systems S.A.




    ".NET Follower" <amitagarwal-NET@SoftHome.net> wrote in message
    news:eC4WVAT7DHA.712@tk2msftngp13.phx.gbl...
    >
    >
    > does Timeout deletes automatically the cookie in the clients browser
    >
    > i relied on forms cookie to authenticate the user
    > and had set timeout to i min
    > but even after i1 min
    > user is authenticated ...
    > so we cannot use only forms cookie
    > is it true
    >
    > only on signout method it deletes the cookie from client
    > not on timeout??????????????
    >
    >
    >
    >
    >
    > --
    > Thanks and Regards,
    >
    > Amit Agarwal
    > Software Programmer(.NET)
    >
    >
    > ---
    > Outgoing mail is certified Virus Free.
    > Checked by AVG anti-virus system ([url]http://www.grisoft.com[/url]).
    > Version: 6.0.580 / Virus Database: 367 - Release Date: 2/6/2004
    >
    >

    Hernan de Lahitte Guest

  5. #4

    Default Re: Meaning Of Timeout In FOrms Authentication..????

    my ? though i am seting timeout to be 1 min
    the auth page is able to access..
    the cookie is not deleted from the clients machine....
    thought signout deletes the cookies..


    --
    Thanks and Regards,

    Amit Agarwal
    Software Programmer(.NET)
    "Hernan de Lahitte" <hernan@lagash.com> wrote in message
    news:esRnmFy7DHA.1596@TK2MSFTNGP10.phx.gbl...
    > I don't know if I'm missing something here but if the user tries to access
    > any page after 1 minute, he will be redirected to the specified logon
    page.
    > This is assumed, based on a config setting like this:
    >
    > <authentication mode="Forms">
    > <forms loginUrl="Login.aspx"
    > protection="All"
    > path="/"
    > timeout="1"
    > slidingExpiration="true"/>
    > </authentication>
    > <authorization>
    > <deny users = "?" />
    > <allow users= "*" />
    > </authorization>
    >
    > Please, tell me more details about the problem in order to help you out.
    >
    > --
    > Hernan de Lahitte
    > Lagash Systems S.A.
    >
    >
    >
    >
    > ".NET Follower" <amitagarwal-NET@SoftHome.net> wrote in message
    > news:eC4WVAT7DHA.712@tk2msftngp13.phx.gbl...
    > >
    > >
    > > does Timeout deletes automatically the cookie in the clients browser
    > >
    > > i relied on forms cookie to authenticate the user
    > > and had set timeout to i min
    > > but even after i1 min
    > > user is authenticated ...
    > > so we cannot use only forms cookie
    > > is it true
    > >
    > > only on signout method it deletes the cookie from client
    > > not on timeout??????????????
    > >
    > >
    > >
    > >
    > >
    > > --
    > > Thanks and Regards,
    > >
    > > Amit Agarwal
    > > Software Programmer(.NET)
    > >
    > >
    > > ---
    > > Outgoing mail is certified Virus Free.
    > > Checked by AVG anti-virus system ([url]http://www.grisoft.com[/url]).
    > > Version: 6.0.580 / Virus Database: 367 - Release Date: 2/6/2004
    > >
    > >
    >
    >

    ---
    Outgoing mail is certified Virus Free.
    Checked by AVG anti-virus system ([url]http://www.grisoft.com[/url]).
    Version: 6.0.580 / Virus Database: 367 - Release Date: 2/6/2004


    .NET Follower Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139