将控件存储为会话变量? [英] Storing Controls as session variables?

查看:47
本文介绍了将控件存储为会话变量?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有可能吗?优点和缺点?

is it possible? pros and cons?

推荐答案

别忘了,如果您的客户浏览器禁用其计算机中的cookie,

会话将不会被他使用。


" Alex D." <人******** @ hotmail.com>在消息中写道

新闻:uy ************** @ TK2MSFTNGP14.phx.gbl ...
Don''t forget that, if your clients browser disables cookies in his computer,
session will not be used by him.

"Alex D." <al********@hotmail.com> wrote in message
news:uy**************@TK2MSFTNGP14.phx.gbl...
有可能吗?优点和缺点?
is it possible? pros and cons?



你为什么要这样做?我可以看到

存储用于填充控件的数据

为什么整个控件本身?吨更多

开销,没有额外的好处...


-

Robbe Morris - 2004/2005 Microsoft MVP C#
http://www.masterado.net


" Alex D." <人******** @ hotmail.com>在消息中写道

新闻:uy ************** @ TK2MSFTNGP14.phx.gbl ...
Why would you ever want to do this? I could see
storing the data used to populate the control
by why the entire control itself? Tons more
overhead with no additional benefit...

--
Robbe Morris - 2004/2005 Microsoft MVP C#
http://www.masterado.net

"Alex D." <al********@hotmail.com> wrote in message
news:uy**************@TK2MSFTNGP14.phx.gbl...
有可能吗?优点和缺点?
is it possible? pros and cons?



所以..你的答案是?是或否?


" Robbe Morris [C#MVP]" <在** @ eggheadcafe.com>在消息中写道

新闻:e3 ************** @ TK2MSFTNGP11.phx.gbl ...
so..your answer is? yes or no?

"Robbe Morris [C# MVP]" <in**@eggheadcafe.com> wrote in message
news:e3**************@TK2MSFTNGP11.phx.gbl...
为什么你会想要去做这个?我可以看到
存储用于填充控件的数据
为什么整个控件本身?在没有额外好处的情况下开销更多......

- Robbe Morris - 2004/2005 Microsoft MVP C#
http://www.masterado.net


" Alex D." <人******** @ hotmail.com>在消息中写道
新闻:uy ************** @ TK2MSFTNGP14.phx.gbl ...
Why would you ever want to do this? I could see
storing the data used to populate the control
by why the entire control itself? Tons more
overhead with no additional benefit...

--
Robbe Morris - 2004/2005 Microsoft MVP C#
http://www.masterado.net

"Alex D." <al********@hotmail.com> wrote in message
news:uy**************@TK2MSFTNGP14.phx.gbl...
有可能吗?优点和缺点?
is it possible? pros and cons?




这篇关于将控件存储为会话变量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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