在Visual Basic中创建会话的帮助 [英] Help in Creating Sessions in Visual Basic

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

问题描述

大家好,

我不知道如何在Visual Basic中创建会话,这里有人愿意教我如何执行此操作吗?任何帮助将被接受.多谢你们. :)

Hi Guys,

I dont know on how to create sessions in visual basic, Is there anyone here willing to teach me on how to do this? Any help will be accepted. Thanks guys. :)

推荐答案

如果需要在Session中存储一些数据,而您正在使用Visual Basic语言请求ASP.NET,答案将是..
If need to store some data in Session and you are asking for ASP.NET using language Visual Basic, the answer would be ..
Session("yourSessionKey")="Your Data" ' you can store the object type



在InProc会话模式下,您可以存储无法实现的对象o
OutProc(SQL Server)会话模式,您的对象必须可序列化.

希望对您有所帮助.



InProc Session Mode, you can store non-realizable objects o
OutProc(SQL Server) Session Mode, your object must serializable.

Hope it would be helpful.


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

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