会话状态 [英] Session State

查看:57
本文介绍了会话状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在单独的

流程中为每个单独的用户存储会话状态?我们有一个我们想要使用的COM组件,它不是线程安全的

并且必须被隔离。我们希望将这个存储在一个单独的过程中

为每个用户。


感谢您的帮助

Is it possible to store session state for each separate user in a separate
process? We have a COM component that we want to use that is not thread safe
and has to be isolated. We would like to store this in a separate process
for each user.

Thanks for any help

推荐答案

您正在会话中存储二进制对象?这是不推荐的,而不是

可扩展


Jeff


" Colin J Paterson" <我******* @ memex.com>在消息中写道

新闻:#o ************** @ TK2MSFTNGP10.phx.gbl ...
You are storing a binary object in session? This is not recommended and not
scalable

Jeff

"Colin J Paterson" <me*******@memex.com> wrote in message
news:#o**************@TK2MSFTNGP10.phx.gbl...
是否有可能在单独的
进程中为每个单独的用户存储会话状态?我们有一个我们想要使用的COM组件,它不是线程
安全且必须隔离。我们希望将这个存储在每个用户的单独过程中。

感谢您的帮助
Is it possible to store session state for each separate user in a separate
process? We have a COM component that we want to use that is not thread safe and has to be isolated. We would like to store this in a separate process
for each user.

Thanks for any help



Integer是二进制对象。我认为你的意思是不建议在

会话中存储一个COM对象,对吧?


-

HTH,< br $>
Kevin Spencer

..Net开发人员

Microsoft MVP

无论是关注者还是
也不是贷款人。


< je ** @ removeemergencyreporting.com>在消息中写道

新闻:Ow ************* @ TK2MSFTNGP11.phx.gbl ...
An Integer is a binary object. I think you mean that storing a COM object in
Session is not recommended, right?

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

<je**@removeemergencyreporting.com> wrote in message
news:Ow*************@TK2MSFTNGP11.phx.gbl...
您正在存储二进制对象在会议?这不推荐,
不可扩展

Jeff

Colin J Paterson <我******* @ memex.com>在消息中写道
新闻:#o ************** @ TK2MSFTNGP10.phx.gbl ...
You are storing a binary object in session? This is not recommended and not scalable

Jeff

"Colin J Paterson" <me*******@memex.com> wrote in message
news:#o**************@TK2MSFTNGP10.phx.gbl...
是否可以存储会话状态为
单独进程中的每个单独用户?我们有一个我们想要使用的COM组件,它不是线程
Is it possible to store session state for each separate user in a separate process? We have a COM component that we want to use that is not thread


安全

,必须隔离。我们希望将此存储在每个用户的单独
流程中。

感谢您的帮助
and has to be isolated. We would like to store this in a separate process for each user.

Thanks for any help




我甚至不肯回答......我讨厌讨论语义的线程..当使用

语言足以传达问题时。


整数不是二元对象,在我看来它是一个基础对象。当然

我的意思是COM或类似的对象。您的帖子未添加任何新信息。


Jeff

" Kevin Spencer" < KS ****** @ takempis.com>在消息中写道

新闻:#s ************** @ TK2MSFTNGP10.phx.gbl ...
I won''t even answer that...I hate threads that discuss semantics..when the
language used is sufficient to communicate the issue.

An integer is NOT a binary object, it''s a base object, in my mind. Of course
I meant a COM or similiar object. Your post added no new information.

Jeff
"Kevin Spencer" <ks******@takempis.com> wrote in message
news:#s**************@TK2MSFTNGP10.phx.gbl...
整数是一个二元对象。我认为你的意思是不建议在Session中存储COM对象
,对吧?

-
HTH,
Kevin Spencer
.Net Developer
微软MVP
无论是追随者还是贷方都不是。

< je ** @ removeemergencyreporting.com>在消息中写道
新闻:Ow ************* @ TK2MSFTNGP11.phx.gbl ...
An Integer is a binary object. I think you mean that storing a COM object in Session is not recommended, right?

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

<je**@removeemergencyreporting.com> wrote in message
news:Ow*************@TK2MSFTNGP11.phx.gbl...
您在会话中存储二进制对象?这不是推荐的,
You are storing a binary object in session? This is not recommended and


不是

可扩展的

Jeff

Colin J Paterson <我******* @ memex.com>在消息中写道
新闻:#o ************** @ TK2MSFTNGP10.phx.gbl ...
scalable

Jeff

"Colin J Paterson" <me*******@memex.com> wrote in message
news:#o**************@TK2MSFTNGP10.phx.gbl...
是否可以存储会话状态为每个单独的用户在一个单独的过程?我们想要使用的COM组件不是
Is it possible to store session state for each separate user in a separate process? We have a COM component that we want to use that is not


thread

thread

safe
并且必须被隔离。我们希望将此存储在每个用户的单独的
and has to be isolated. We would like to store this in a separate


过程中。

感谢您的帮助


process for each user.

Thanks for any help





这篇关于会话状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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