D
Don
I have an ASP.NET program that references a VB.NET DLL. I had originally
planned for my DLL to put things in the HttpContext.Current collection so
that the ASP.NET can access them throughout an entire session (according to
a tip I saw on a website somewhere), but it turns out that it only lasts for
the current page request. If another page is requested, the contents of
HttpContext.Current are cleared. Except for the lack of proper scope,
HttpContext.Current gives me the functionality that I need.
Is there another class I can throw this stuff into, similar to the way
HttpContext.Current works, that will let the objects last for the entire
session and not just the current request? In ASP.NET there's a Session
class which has the right scope, but I don't know how -- or even if it's
possible -- to access that class from by VB.NET DLL.
- Don
planned for my DLL to put things in the HttpContext.Current collection so
that the ASP.NET can access them throughout an entire session (according to
a tip I saw on a website somewhere), but it turns out that it only lasts for
the current page request. If another page is requested, the contents of
HttpContext.Current are cleared. Except for the lack of proper scope,
HttpContext.Current gives me the functionality that I need.
Is there another class I can throw this stuff into, similar to the way
HttpContext.Current works, that will let the objects last for the entire
session and not just the current request? In ASP.NET there's a Session
class which has the right scope, but I don't know how -- or even if it's
possible -- to access that class from by VB.NET DLL.
- Don