I have a web application I am trying to put together using VB.NET. I need to assign a session varable to my authenticated users that will be used for many things inside the application.
I know I have to put something into the global.asax but that is about all I know about it. Can anyone give me some advice about how to implement a session variable like this OR point me to some reference text?
I am VERY new to ASP.NET (as well as development) so the more detailed teh information you can provide, the more grateful I will be. :)
Thanks in advance!
DaleYou don't need to touch the Global.asax, simply do the following:
Session("mySession") = "value"Seethis article for further information.Okay, I read the article but it doesn't show any working examples of implementation. Is there another resource I can use that has a working example of how to implement (ie: actual code, where the code is placed; in the global.asax or the code-behind) the session object?
I still don't know how to implement these...
Thanks again!
0 comments:
Post a Comment