What factor determine a session to end?

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

  1. #1

    Default What factor determine a session to end?

    Hi there,

    Just wonder what factor actually determine a session to end?

    What happen a user close the browser or switch to other website? Does the
    session end immediately or 20 minutes later? (20 minutes defined in
    Web.config)

    Thanks,
    Kian



    Kian Goh Guest

  2. Similar Questions and Discussions

    1. How can I take the PDText factor?
      I'm tryng to use the PDTextGetState() function in order to find out the horizontal scale of a text on a PDF document. However I couldn't find any...
    2. Math::Pari 'factor' is wrong
      #!/usr/local/bin/perl -w # use Math::PariInit qw( primes=12000000 stack=1e8 ); # use Math::Pari qw(:all); use Math::Pari 'factor'; # $i =...
    3. ColdFusion MX 7 PRICE factor
      Hi, The only way to get more users (ColdFusion developer / Programmer) for ColdFusion, MacroMedia need to review their software PRICING for...
    4. EOS 20D...1.6x Crop Factor...Do you actually see it while shooting?
      Greetings All... I have made the jump from Canon FD (T90, 300/f4, etc...) to the EOS 20D. I think I understand the crop factor and why it...
    5. Can't change zoom factor when printing
      Hi Yeah no probs can't seem to paste into the text box I may need your email address. Alan
  3. #2

    Default Re: What factor determine a session to end?

    20 minutes later.

    --
    HTH,

    Kevin Spencer
    Microsoft MVP
    ..Net Developer
    [url]http://www.takempis.com[/url]
    Big things are made up of
    lots of little things.

    "Kian Goh" <kiangoh2700544@hotmail.com> wrote in message
    news:OGKqQWhUDHA.360@TK2MSFTNGP11.phx.gbl...
    > Hi there,
    >
    > Just wonder what factor actually determine a session to end?
    >
    > What happen a user close the browser or switch to other website? Does the
    > session end immediately or 20 minutes later? (20 minutes defined in
    > Web.config)
    >
    > Thanks,
    > Kian
    >
    >
    >

    Kevin Spencer Guest

  4. #3

    Default Re: What factor determine a session to end?

    The session will time out after 20 minutes of no page requests from the
    user.
    This default time interval is configurable in your web.config file.
    After the session times out the Session_End event will be called in your
    Global.asax file.
    You can terminate the session manually by calling Session.Abandon, but be
    aware this will cause the Session_End event to not be called. But that's
    not so bad. Just take your code from the Session_End event, put it in a
    separate function, then call that function from both your Session_End event
    and whenever you call Session.Abandon.

    Here's more details for you:
    [url]http://www.asp.net/Forums/ShowPost.aspx?tabindex=1&PostID=7504[/url]

    --
    I hope this helps,
    Steve C. Orr, MCSD
    [url]http://Steve.Orr.net[/url]


    "Kian Goh" <kiangoh2700544@hotmail.com> wrote in message
    news:OGKqQWhUDHA.360@TK2MSFTNGP11.phx.gbl...
    > Hi there,
    >
    > Just wonder what factor actually determine a session to end?
    >
    > What happen a user close the browser or switch to other website? Does the
    > session end immediately or 20 minutes later? (20 minutes defined in
    > Web.config)
    >
    > Thanks,
    > Kian
    >
    >
    >

    Steve C. Orr, MCSD 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