If your application must support Internet Explorer 4.
or Internet Explorer 5, then you should replace Session variables with Cookies. Ensure that the Cookies have an expiration date. This will result in the Cookie being written to disk. Regardless of which process the frame is hosted in, all frames will gather the Cookie information from the same location on disk.
Session("MyVariable") = "MyValue"
Response.Cookies("MyVariable") = "MyValue"
Response.Cookies("MyVariable").Expires = Now() + 1 '24 hours
Note that Cookies must be written before any output is streamed to the browser. You may also need to enable output buffering on your page with the following code:
<%@ Language=VBScript %>
Response.Buffer = True
IIS 5.0 ASP pages have output buffering enabled by default. IIS 4.0 ASP pages do not.
This behavior has been resolved with Internet Explorer 5.5.