Question

HttpContext.Current.Items is a store that has a life span of the HTTP request.

I'd like to know the Classic ASP equivalent of this.

Was it helpful?

Solution

There is no equivalent of that in Classic ASP. You only have objects like Request, Response, Session, Application, Server for that purpose.

OTHER TIPS

You could use Session to store stuff from page to page in a similar manner:

Session("MyVar") = "my value to keep"

But in ASP theres not much skipping around pages as you would in .net with user controls etc. You might be better off with some globals?

If you give us a bit more context (no pun intended) might be able to point you in the right direction better.

A collection object with global scope would accomplish the same thing.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top