heavenly_blue
07-09-2004, 10:56 AM
I have things like this in the head of a page I have...
<%
Session("FirstName") = Request.Form("FirstName").Item;
Session("LastName") = Request.Form("LastName").Item;
%>
Is there a way to have just one session object, but multiple parts of it? I'm not sure what te correct terms are for it but I wanted to do something like...
<%
Session("UserInfo");
Session("UserInfo").FirstName = Request.Form("FirstName").Item;
Session("UserInfo").LastName = Request.Form("LastName").Item;
%>
Is there a way to do something like that? I don't want to have like 30 session variables, I just want one with all the info in it.
<%
Session("FirstName") = Request.Form("FirstName").Item;
Session("LastName") = Request.Form("LastName").Item;
%>
Is there a way to have just one session object, but multiple parts of it? I'm not sure what te correct terms are for it but I wanted to do something like...
<%
Session("UserInfo");
Session("UserInfo").FirstName = Request.Form("FirstName").Item;
Session("UserInfo").LastName = Request.Form("LastName").Item;
%>
Is there a way to do something like that? I don't want to have like 30 session variables, I just want one with all the info in it.