Hi there,
To try this out, create two new pages called Page1.asp and Page2.asp.
In the <body> of Page1.asp add the following code:
Code:
<%
Response.Cookies("Test") = "This is a test of a cookie"
Session("Test") = "This is a test of a session variable"
Response.Redirect("Page2.asp")
%>
Between the <body> tags of page two add this code:
Code:
<%
Response.Write("Cookie has a value of " & Request.Cookies("Test") & "<br />")
Response.Write("Session has a value of " & Session("Test") & "<br />")
%>
Load Page1.asp in your browser. It should redirect you to the second page, showing you the values of Cookie and the Session variable, respectively.
Let me know if this works so we can work on the main problem of the Home.asp page.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.