© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
256 replies
İrşat

HttpContext.Current doesn't exist

I want to use
HttpContext.Current.Session.Timeout
HttpContext.Current.Session.Timeout

but it can't find the Current, even after I added
using System.Web;
using System.Web;
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Next page

Similar Threads

✅ NuGet package doesn't exist in current context
C#CC# / help
16mo ago
Get associated RateLimiter for the current HttpContext instance
C#CC# / help
12mo ago
✅ Error that seemingly doesn't exist.
C#CC# / help
3y ago
MySqlException: Table 'searchhome.aspnetusers' doesn't exist
C#CC# / help
2y ago