Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP.NET binding objects to a session

Status
Not open for further replies.

gregmosu

Programmer
Jul 8, 2002
117
US
How do I bind an object to a session, and then retrieve it again? If this were Java, I could use...

session.setAttribute("ObjName",Object);
-and-
session.getAttribute("ObjName");

I'm using vb.net to code this app.

Thanks,
Greg
 
might try the asp.net forum for this question, buti believe you can use the session object to hold the object ( not recommended large overhead for session especially with a multitude of users )

done by :
<%
Session("whatever") = whatever
%>

can pass array, object, string, or number to it

[thumbsup2]DreX
aKa - Robert
if all else fails, light it on fire and do the happy dance!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top