会话超时的最大分钟数是多少? [英] What is the maximum number of minutes for Session timeout?

查看:142
本文介绍了会话超时的最大分钟数是多少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我可以在web.config中指定会话超时的最大分钟数



谢谢。

Dee

解决方案

如果我记得正确的365天,那将是525,600分钟...... ..


问候


John Timney

ASP.NET MVP

Microsoft区域主任


dee < DEE @家>在消息中写道

news:uE ************** @ TK2MSFTNGP10.phx.gbl ...


我可以在web.config中指定的会话超时的最大分钟数是多少?
谢谢。
Dee


然而,这是一个非常危险的问题。提高会话超时

会在服务器上产生更多的内存使用量,因为它会传播到所有

用户Sessions。通常会问这个问题,因为开发人员是

计划以某种方式解决问题,否则可以使用

a减去machiavellian方法来解决。从长远来看,开发人员在他/她的手上有更多的问题,这就是我的所有记忆都消失了,

以及如何减少我的应用程序中的内存使用情况?


-

HTH,


Kevin Spencer

Microsoft MVP

..Net开发人员

你所寻求的是你所得到的。


" John Timney (ASP.NET MVP) < TI ***** @ despammed.com>在消息中写道

news:ul ************** @ TK2MSFTNGP12.phx.gbl ...

如果我没记错的话365天,这将是525,600分钟.....

问候

John Timney
ASP.NET MVP
微软区域总监
dee < DEE @家>在消息中写道
新闻:uE ************** @ TK2MSFTNGP10.phx.gbl ...


我可以在web.config中指定的会话超时的最大分钟数是多少?
谢谢。
Dee



我完全同意你的额外评论凯文。


-

问候


John Timney

ASP.NET MVP

微软区域总监


" Kevin Spencer" <柯*** @ DIESPAMMERSDIEtakempis.com>在消息中写道

新闻:uA ************** @ TK2MSFTNGP10.phx.gbl ...

这是非常的但是,要问危险的问题。提高会话超时
会在服务器上产生更多内存,因为它会传播到所有用户会话。通常会问这个问题,因为开发人员正在计划解决问题。一种可以解决的方法
使用较少的machiavellian方法。从长远来看,开发人员在他/她的手上有一个更大的问题,那就是我的所有记忆都消失了,我如何减少应用程序中的内存使用量?

-
HTH,

Kevin Spencer
微软MVP
.Net开发人员
你所寻求的是你得到的。

John Timney(ASP.NET MVP) < TI ***** @ despammed.com>在消息中写道
新闻:ul ************** @ TK2MSFTNGP12.phx.gbl ...

如果我没记错了它的365天,将是525,600分钟.....

问候

John Timney
ASP.NET MVP
微软区域总监
dee < DEE @家>在消息中写道
新闻:uE ************** @ TK2MSFTNGP10.phx.gbl ...


我可以在web.config中指定的会话超时的最大分钟数是多少?
谢谢。
Dee




Hi,

What is the maximum number of minutes for Session timeout that I can specify
in web.config?
Thanks.
Dee

解决方案

If I remember correctly its 365 days, which would be 525,600 minutes.....

Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"dee" <dee@home> wrote in message
news:uE**************@TK2MSFTNGP10.phx.gbl...

Hi,

What is the maximum number of minutes for Session timeout that I can
specify in web.config?
Thanks.
Dee



It''s a very dangerous question to ask, however. Upping the Session Timeout
is going to incur more memory usage on the server, as it propagates to all
user Sessions.Usually this question is asked because the developer is
planning on solving a problem in a way that could otherwise be solved using
a less machiavellian approach. In the long run, the developer has a much
greater problem on his/her hands, which is "where has all my memory gone,
and how do I reduce memory usage in my app?"

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.

"John Timney (ASP.NET MVP)" <ti*****@despammed.com> wrote in message
news:ul**************@TK2MSFTNGP12.phx.gbl...

If I remember correctly its 365 days, which would be 525,600 minutes.....

Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"dee" <dee@home> wrote in message
news:uE**************@TK2MSFTNGP10.phx.gbl...

Hi,

What is the maximum number of minutes for Session timeout that I can
specify in web.config?
Thanks.
Dee




I completely agree with your extra comments Kevin.

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:uA**************@TK2MSFTNGP10.phx.gbl...

It''s a very dangerous question to ask, however. Upping the Session Timeout
is going to incur more memory usage on the server, as it propagates to all
user Sessions.Usually this question is asked because the developer is
planning on solving a problem in a way that could otherwise be solved
using a less machiavellian approach. In the long run, the developer has a
much greater problem on his/her hands, which is "where has all my memory
gone, and how do I reduce memory usage in my app?"

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
What You Seek Is What You Get.

"John Timney (ASP.NET MVP)" <ti*****@despammed.com> wrote in message
news:ul**************@TK2MSFTNGP12.phx.gbl...

If I remember correctly its 365 days, which would be 525,600 minutes.....

Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"dee" <dee@home> wrote in message
news:uE**************@TK2MSFTNGP10.phx.gbl...

Hi,

What is the maximum number of minutes for Session timeout that I can
specify in web.config?
Thanks.
Dee





这篇关于会话超时的最大分钟数是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆