Spudhead
08-16-2005, 04:25 PM
Is there something about session variables accross directories? I know that sounds daft, but I don't get this:
www.mysite.com/directory/test.asp
<%
session("foo")="one"
response.write(session("foo"))
response.write(session("baa"))
%>
www.mysite.com/different_directory/test.asp
<%
session("baa")="two"
response.write(session("foo"))
response.write(session("baa"))
%>
No matter how many times I hit those pages in succession, neither page can see the session variable that the other one is populating. Why? :(
www.mysite.com/directory/test.asp
<%
session("foo")="one"
response.write(session("foo"))
response.write(session("baa"))
%>
www.mysite.com/different_directory/test.asp
<%
session("baa")="two"
response.write(session("foo"))
response.write(session("baa"))
%>
No matter how many times I hit those pages in succession, neither page can see the session variable that the other one is populating. Why? :(