我從類庫中訪問一些會話變量,屬性/方法正在從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 + –