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