我从类库中访问一些会话变量,属性/方法正在从ASP.NET页面调用。但会话没有返回,为什么会这样呢?HttpContext.current.Session返回Nothing
0
A
回答
2
相关问题
- 1. GetVSTOObject返回Nothing
- 2. VBCodeProvider.CreateParser()返回Nothing?
- 3. VB.NET - AddressOf返回Nothing?
- 4. Javascript + ExpressJS - 返回[something]或返回(nothing)?
- 5. facebook access_token请求返回NOTHING
- 6. VBA Outlook Restrict返回“nothing”
- 7. VBA Workbook.Open(文件)返回Nothing
- 8. Type.GetType在SerializationBinder中返回Nothing
- 9. Java返回Nothing递归
- 10. PHP/SQL查询返回Nothing
- 11. EC2上的WebServer返回503/404/nothing
- 12. VSTO在VBA:AddIn.Object返回Nothing(空)有时
- 13. Var_dump()显示String,echo()/ print_r()返回Nothing
- 14. Ng-Model返回null而不是Nothing
- 15. 为什么我的CAST返回null/Nothing?
- 16. 编写一个scala方法返回Nothing
- 17. 在count()后查询返回Nothing查询
- 18. 当泛型方法返回'Nothing'时返回什么,但不能返回null?
- 19. 刷新数据网格视图返回Nothing
- 20. Response.Redirect如果启用Nothing(ASP.NET)和EventValidation返回错误
- 21. 在本地主机上运行PHP SimpleTest时返回“Nothing fetched”
- 22. 为什么getElementByID返回Nothing而不是NULL
- 23. 检查Rails数据库查询是否返回Nothing
- 24. 为什么“return Nothing”不返回任何内容?
- 25. Registry.CurrentUser.OpenSubKey在从服务中调用时返回Nothing
- 26. 如何在SQL Select返回Nothing时避免抛出错误
- 27. 为什么OWLReasoner.getSubclass(...)返回http://www.w3.org/2002/07/owl#Nothing?
- 28. 为什么我的MVC ID返回Null(或Nothing)?
- 29. BlinkTrade Rest API返回Nothing(账户余额请求)
- 30. AIX 6.1:CORE DUMP - GDB“线程全部应用bt”返回NOTHING?
您试图访问HttpContext.Session对象的哪一点? –
on load,这个页面上唯一的区别就是它有一个自定义的基本页面,这个页面继承自页面 – keyoke
这个论坛有一个你可能想要考虑的解决方案:http://forums.asp.net/t/998446 .aspx/1?从+类+库中使用+ HttpContext + –