访问会话变量 [英] Accessing a Session Variable

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

问题描述

大家好,

如何在用C#编写的类中访问Session和Application变量。



关注

Hello everyone,
How can I access a Session and Application variable in a class written in C#.

Regards

推荐答案

谷歌是你的朋友:好好经常拜访他。他可以比在这里发布问题更快地回答问题...



使用您的主题进行快速搜索,因为搜索词提供了2800万次点击: Google [ ^ ]



第二个热门是来自MSDN的概述! ASP.NET会话状态概述 [ ^ ]



将来,请尝试自己做至少基础研究,不要浪费你的时间或我们的时间。
Google is your friend: Be nice and visit him often. He can answer questions a lot more quickly than posting them here...

A very quick search using your subject as the search term gave 28 million hits: Google[^]

The second hit is an overview from MSDN! ASP.NET Session State Overview[^]

In future, please try to do at least basic research yourself, and not waste your time or ours.


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

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