I’m considering using the Session variables to store the Connectionstring for a particular user in a Application. Is it safe enough to store this in the Session variables?
I’m considering using the Session variables to store the Connectionstring for a particular user
Share
The session variables never leaves the server, the browser only gets a cookie with an id. That makes it no less safe than having the connection string in a .config-file.
But I have to admit that it sounds kind of odd to keep connection strings in session variables.