如何建立会议 [英] How to create Session
本文介绍了如何建立会议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有人可以描述使用会话创建新会话并在下一页上发送值的整个编码吗?
Can anybody describe the whole coding to creating a new session and sending values on next page by using sessions
推荐答案
这两个链接将非常有用
有关ASP.NET状态管理的初学者教程 [ ^ ]
了解ASP.NET中的会话管理技术 [
These two links will be very helpful
A Beginner''s Tutorial on ASP.NET State Management[^]
Understanding Session Management Techniques in ASP.NET[^]
:) 分配值:
:) Assign Value:
Session["YourSessionName"]= "YourSessionValue"
取回值:
Retrive Value:
string MySessionString= Session["YourSessionName"].ToString();
谢谢,
Ambesha
Thanks,
Ambesha
只需编写以下代码即可在c#中创建会话
Just write following code to create session in c#
Session["ID"]=ID
DescriptionL:- The field that is between to brackets is Name given to session
<big>To Access Session</big>
string ID=Session["ID"].toStraing()
This this will help you
这篇关于如何建立会议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文