Ask a Question related to ASP.NET General, Design and Development.
-
Kian Goh #1
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
-
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... -
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 =... -
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... -
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... -
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 -
Kevin Spencer #2
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
-
Steve C. Orr, MCSD #3
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



Reply With Quote

