Recommended session management

P

paul.hester

Hi all,

I'm used to developing with classic ASP where I will have a common
include file that assigns session variables to page variables and
initialises them if empty/null.

What is the recommended way to do this in ASP .NET so that these "page"
variables are accessible to all of the pages in the website?

I just want a convenient way to initialise these values if empty and
have them accessible in every page without having to repeat the logic.

Thanks,

Paul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,795
Messages
2,569,644
Members
45,358
Latest member
TreyTritt8

Latest Threads

Top