Okay, I'm not exactly sure what's happening so I'll go through the steps and hope someone can help.
When I templatize a page, the session variable disappears. So, on test.asp, if I call Session("CC_Username") I can see the session.
But, when I place the include header.asp page in test.asp, the Session variable won't become defined.
This is what's in the header:
<%
Dim CC_Username
if isempty(Session("CC_Username")) then
Session("CC_Username") = rsCheckUser("U_ID")
end if
%>
If I remove the header and place that code in test.asp, then it does appear.
So, I thought maybe the rsCheckUser wasn't open, but it is and I'm not receiving any error.
Any explanation?