I get a userId in the Default page, where I connect to the database(Oracle if it’s interesting).I want to keep this userId and use it in the pages I open. I need it to compare with a combobox SelectedItem.Value. And this combobox is found almost in all the pages in the web site.How can I send this UserId as a parameter? Or is there a place where I can keep this variable and use it when I need. I’m sure it’s very common and I wonder what the common and best way is.
Share
You can send it as a
querystring parameter, but the best way to keep the value in memory is with a session variable