I found the below Info at http://forums.asp.net/t/1138444.aspx
My question: "What would be the best place to initialize Session["UserId"]=User.Ide
; ?? "
In Session_Start(..) of Global.asax ?? Or Another Location?
Usually when its user/role based application we always store userid/username in session.
So this is a variable that an application always needs.... So you can even check the individual variable which is maitained for Session Tracking/Identification.
if (Session["UserId"] == null)
meout"); //Passing the reason in querystring to notify the user in Login page.