Just wondering what the best way to store user login data on successful login in my application. I.e. when logged in at the moment I do something like this in my login script

```
                            Session("loggedIn") = "Yes"
                            Session("userName") = reader_login("useremail").ToString()
                            Session("userId") = reader_login("user_ID").ToString()
                            Session("firstName") = reader_login("firstName").ToString()
                            Session("lastName") = reader_login("lastName").ToString()

```

And then I use these session variables on my scripts, but just noticed that every time I want to use some of these session variables I do need to check if they are nut null before calling them, seems a bit clumsy to repeat these for a lot of my .aspx pages. Is there a better way to do this ?

EDIT : 

Also I am wondering why do I need to add the IS NUll check for the session on each script I use session variables I put the check in the master page but noticed I still get null exception in my usercontrol which is referenced in my master page but does not have the IS null check