p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   VB.NET 2002/2003 Basics (http://p2p.wrox.com/forumdisplay.php?f=76)
-   -   Need Info (http://p2p.wrox.com/showthread.php?t=34226)

mr_shoaib October 13th, 2005 02:13 AM

Need Info
I m new in VB.net , I m asp developer so thats why i m facing problems,Please tell me i want to keepinformation of user session type variables in VB.net, so Pl tell me how i can do this in Vb.net.Or how i can use it in as public static variables.
Shoaib Shaikh

Shoaib Shaikh

Jeff Mason October 13th, 2005 05:18 AM

The httpsessionstate class, or the ASP.NET intrinsic Session object, contain an Item property. This Item property is accessed via a string key and contains a variable of type object, so you can store anything you'd like in there, then later retrieve it in a subsequent page request.

Overuse of session variables can result in lousy performance, and restrict your options regarding scalability, though, so be careful.

Jeff Mason
Custom Apps, Inc.

All times are GMT -4. The time now is 10:56 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.