|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How do access context in your class?Hello,
I have a class defined in App_Code, how do I access current HTTP context from that class without explicitely passing it? G HttpContext.Current
Karl Show quoteHide quote "GS" <n*@no.com> wrote in message news:O1yqjA8EGHA.4084@TK2MSFTNGP10.phx.gbl... > Hello, > > I have a class defined in App_Code, how do I access current HTTP context > from that class without explicitely passing it? > > G >
http://msdn2.microsoft.com/en-us/library/system.web.httpcontext.current.aspx
Show quote Hide quote "GS" wrote:
> Hello, > > I have a class defined in App_Code, how do I access current HTTP context > from that class without explicitely passing it? > > G > > >
Other interesting topics
remember me cookie in asp .net
Problem compiling remote web in VS2005 WebPartManager: disable Personalization and still use WebPartManger.AddWebPart() WebPartManager.AddWebPart...not understanding exception What would be a good design for my application ASP:TableRow with dynamic design Asp.net And Firefox dynamic column/fields Memebership, Role, Profile Provider Hirarchical View in GridView |
|||||||||||||||||||||||