我从类库中访问一些会话变量,属性/方法正在从ASP.NET页面调用。但会话没有返回,为什么会这样呢?HttpContext.current.Session返回Nothing
0
A
回答
2
相关问题
- 1. MailItem.GetInspector.WordEditor返回Nothing
- 2. VBCodeProvider.CreateParser()返回Nothing?
- 3. GetVSTOObject返回Nothing
- 4. jQuery Post返回Nothing
- 5. .value返回Nothing(javaScript)
- 6. VB.NET - AddressOf返回Nothing?
- 7. Javascript + ExpressJS - 返回[something]或返回(nothing)?
- 8. PHP/SQL查询返回Nothing
- 9. Java返回Nothing递归
- 10. Type.GetType在SerializationBinder中返回Nothing
- 11. facebook access_token请求返回NOTHING
- 12. VBA Outlook Restrict返回“nothing”
- 13. ASP.NET C#参数化查询返回Nothing
- 14. Public PreviousOnly属性从PreviousPage返回'nothing'
- 15. EC2上的WebServer返回503/404/nothing
- 16. Ng-Model返回null而不是Nothing
- 17. 为什么我的CAST返回null/Nothing?
- 18. 在count()后查询返回Nothing查询
- 19. 使用TryCast返回DBNull而不是Nothing
- 20. VSTO在VBA:AddIn.Object返回Nothing(空)有时
- 21. 从VBScript函数返回Null或Nothing?
- 22. NetworkCredential,CredentialCache,ICredentials全部返回Nothing
- 23. Var_dump()显示String,echo()/ print_r()返回Nothing
- 24. 编写一个scala方法返回Nothing
- 25. 当泛型方法返回'Nothing'时返回什么,但不能返回null?
- 26. HttpContext.Current.Session在实用类(ASP.NET MVC)中使用时返回null
- 27. REST API“Nothing to do”回应
- 28. array as column,nothing nothing
- 29. 刷新数据网格视图返回Nothing
- 30. 如何在SQL Select返回Nothing时避免抛出错误
您试图访问HttpContext.Session对象的哪一点? –
on load,这个页面上唯一的区别就是它有一个自定义的基本页面,这个页面继承自页面 – keyoke
这个论坛有一个你可能想要考虑的解决方案:http://forums.asp.net/t/998446 .aspx/1?从+类+库中使用+ HttpContext + –