Thursday, March 22, 2012

Session Variables

Hey question for anyone who can answer...

Should I define all me Session vars in the global.asax page as I would in asp? and what is the syntax in .net.

thanks...

rich

Im sure there is probably other, more complicated, ways to declare session variables...but i just do it the same way in .net that I did in asp...just do session("myvar") to create a session variable...global.asax is a fine place to do that i think.

MajorCats


rperreta wrote:

Hey question for anyone who can answer...

Should I define all me Session vars in the global.asax page as I would in asp? and what is the syntax in .net.

thanks...

rich


Hi rich,
Please check this link...Session State Asp.NET
Hope this helps

Hello,

BTW, you can find a really good FAQ about the use of session variables here:ASP.Net Session Variables FAQ

HTH,


Thank you everyone for your help... I think I have my answers...

-rjp

0 comments:

Post a Comment