How ASP.NET Session.Timeout WorksHow do I enumerate an enum in C#?How do I format a Microsoft JSON date?ASP.NET Web Site or ASP.NET Web Application?Session timeout in ASP.NETHow to get a user's client IP address in ASP.NET?Random number generator only generating one random numberHow can I get my webapp's base URL in ASP.NET MVC?What is a NullReferenceException, and how do I fix it?Entity Framework TimeoutsConfig Error: This configuration section cannot be used at this path
What does MLD stand for?
How much cash can I safely carry into the USA and avoid civil forfeiture?
How long after the last departure shall the airport stay open for an emergency return?
Why did Rep. Omar conclude her criticism of US troops with the phrase "NotTodaySatan"?
How to keep bees out of canned beverages?
Retract an already submitted recommendation letter (written for an undergrad student)
A Paper Record is What I Hamper
All ASCII characters with a given bit count
What is purpose of DB Browser(dbbrowser.aspx) under admin tool?
How bug prioritization works in agile projects vs non agile
Find a stone which is not the lightest one
I preordered a game on my Xbox while on the home screen of my friend's account. Which of us owns the game?
Negative Resistance
How do I check if a string is entirely made of the same substring?
Why do real positive eigenvalues result in an unstable system? What about eigenvalues between 0 and 1? or 1?
Cayley's Matrix Notation
Complex numbers z=-3-4i polar form
Work requires me to come in early to start computer but wont let me clock in to get paid for it
Prove that the countable union of countable sets is also countable
Can a stored procedure reference the database in which it is stored?
Find the identical rows in a matrix
Why do games have consumables?
A strange hotel
std::unique_ptr of base class holding reference of derived class does not show warning in gcc compiler while naked pointer shows it. Why?
How ASP.NET Session.Timeout Works
How do I enumerate an enum in C#?How do I format a Microsoft JSON date?ASP.NET Web Site or ASP.NET Web Application?Session timeout in ASP.NETHow to get a user's client IP address in ASP.NET?Random number generator only generating one random numberHow can I get my webapp's base URL in ASP.NET MVC?What is a NullReferenceException, and how do I fix it?Entity Framework TimeoutsConfig Error: This configuration section cannot be used at this path
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
What happens if a timeout is set to 20 minutes, and the user clicks on a button at minute 19. Do they get another 20 minutes?
c# asp.net vb.net iis
add a comment |
What happens if a timeout is set to 20 minutes, and the user clicks on a button at minute 19. Do they get another 20 minutes?
c# asp.net vb.net iis
"Session timeout represents the event occuring when a user do not perform any action on a web site during a interval (defined by web server). The event, on server side, change the status of the user session to 'invalid' (ie. "not used anymore") and instruct the web server to destroy it (deleting all data contained into it)." - owasp.org
– Fahad Jameel
Mar 22 at 16:39
In other words. Yes. that's what happens. The session is basically timing out if the user doesn't perform any action on the site.
– Fahad Jameel
Mar 22 at 16:41
Also check if you have sliding expiration set, docs.microsoft.com/en-us/dotnet/api/…
– Lex Li
Mar 22 at 20:32
add a comment |
What happens if a timeout is set to 20 minutes, and the user clicks on a button at minute 19. Do they get another 20 minutes?
c# asp.net vb.net iis
What happens if a timeout is set to 20 minutes, and the user clicks on a button at minute 19. Do they get another 20 minutes?
c# asp.net vb.net iis
c# asp.net vb.net iis
edited Mar 22 at 17:02
tehp
2,0141124
2,0141124
asked Mar 22 at 16:33
BTFmanBTFman
1408
1408
"Session timeout represents the event occuring when a user do not perform any action on a web site during a interval (defined by web server). The event, on server side, change the status of the user session to 'invalid' (ie. "not used anymore") and instruct the web server to destroy it (deleting all data contained into it)." - owasp.org
– Fahad Jameel
Mar 22 at 16:39
In other words. Yes. that's what happens. The session is basically timing out if the user doesn't perform any action on the site.
– Fahad Jameel
Mar 22 at 16:41
Also check if you have sliding expiration set, docs.microsoft.com/en-us/dotnet/api/…
– Lex Li
Mar 22 at 20:32
add a comment |
"Session timeout represents the event occuring when a user do not perform any action on a web site during a interval (defined by web server). The event, on server side, change the status of the user session to 'invalid' (ie. "not used anymore") and instruct the web server to destroy it (deleting all data contained into it)." - owasp.org
– Fahad Jameel
Mar 22 at 16:39
In other words. Yes. that's what happens. The session is basically timing out if the user doesn't perform any action on the site.
– Fahad Jameel
Mar 22 at 16:41
Also check if you have sliding expiration set, docs.microsoft.com/en-us/dotnet/api/…
– Lex Li
Mar 22 at 20:32
"Session timeout represents the event occuring when a user do not perform any action on a web site during a interval (defined by web server). The event, on server side, change the status of the user session to 'invalid' (ie. "not used anymore") and instruct the web server to destroy it (deleting all data contained into it)." - owasp.org
– Fahad Jameel
Mar 22 at 16:39
"Session timeout represents the event occuring when a user do not perform any action on a web site during a interval (defined by web server). The event, on server side, change the status of the user session to 'invalid' (ie. "not used anymore") and instruct the web server to destroy it (deleting all data contained into it)." - owasp.org
– Fahad Jameel
Mar 22 at 16:39
In other words. Yes. that's what happens. The session is basically timing out if the user doesn't perform any action on the site.
– Fahad Jameel
Mar 22 at 16:41
In other words. Yes. that's what happens. The session is basically timing out if the user doesn't perform any action on the site.
– Fahad Jameel
Mar 22 at 16:41
Also check if you have sliding expiration set, docs.microsoft.com/en-us/dotnet/api/…
– Lex Li
Mar 22 at 20:32
Also check if you have sliding expiration set, docs.microsoft.com/en-us/dotnet/api/…
– Lex Li
Mar 22 at 20:32
add a comment |
1 Answer
1
active
oldest
votes
The answer to your question is Yes, the 20 minutes time is the default setting of the IIS web service, If you want to customize this setting you can modify your web.config file.
Here are the info and an example:
https://docs.microsoft.com/en-us/dotnet/api/system.web.sessionstate.httpsessionstate.timeout
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55304052%2fhow-asp-net-session-timeout-works%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The answer to your question is Yes, the 20 minutes time is the default setting of the IIS web service, If you want to customize this setting you can modify your web.config file.
Here are the info and an example:
https://docs.microsoft.com/en-us/dotnet/api/system.web.sessionstate.httpsessionstate.timeout
add a comment |
The answer to your question is Yes, the 20 minutes time is the default setting of the IIS web service, If you want to customize this setting you can modify your web.config file.
Here are the info and an example:
https://docs.microsoft.com/en-us/dotnet/api/system.web.sessionstate.httpsessionstate.timeout
add a comment |
The answer to your question is Yes, the 20 minutes time is the default setting of the IIS web service, If you want to customize this setting you can modify your web.config file.
Here are the info and an example:
https://docs.microsoft.com/en-us/dotnet/api/system.web.sessionstate.httpsessionstate.timeout
The answer to your question is Yes, the 20 minutes time is the default setting of the IIS web service, If you want to customize this setting you can modify your web.config file.
Here are the info and an example:
https://docs.microsoft.com/en-us/dotnet/api/system.web.sessionstate.httpsessionstate.timeout
answered Mar 22 at 16:47
SergioSergio
211
211
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55304052%2fhow-asp-net-session-timeout-works%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
"Session timeout represents the event occuring when a user do not perform any action on a web site during a interval (defined by web server). The event, on server side, change the status of the user session to 'invalid' (ie. "not used anymore") and instruct the web server to destroy it (deleting all data contained into it)." - owasp.org
– Fahad Jameel
Mar 22 at 16:39
In other words. Yes. that's what happens. The session is basically timing out if the user doesn't perform any action on the site.
– Fahad Jameel
Mar 22 at 16:41
Also check if you have sliding expiration set, docs.microsoft.com/en-us/dotnet/api/…
– Lex Li
Mar 22 at 20:32