Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
mansoorazeem
Starting Member
4 Posts |
Posted - 2007-03-08 : 09:08:30
|
i want to save the userid from login page to a session variable in my global.asax file how can i do it. |
|
dfiala
Posting Yak Master
116 Posts |
Posted - 2007-03-08 : 09:12:40
|
Session("UserID") = SomeUserIDDean FialaVery Practical Software, IncNow with Blogging...http://www.vpsw.com/blogbabyMicrosoft MVP |
|
|
mansoorazeem
Starting Member
4 Posts |
Posted - 2007-03-09 : 05:32:43
|
but how this will be stored in the global.asax file so that i can use it |
|
|
dfiala
Posting Yak Master
116 Posts |
Posted - 2007-03-09 : 06:36:38
|
it's not stored in global.asax, but once it has been set you can use it anywhere in the applicationDim UserID as String = Session("UserID")Dean FialaVery Practical Software, IncNow with Blogging...http://www.vpsw.com/blogbabyMicrosoft MVP |
|
|
|
|
|