Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

Static Connection String SQLSERVER session state issue.

$
0
0

Hi,

I implemented SQLSERVER session state in my application. And in my application we are using one variable "static ConnectionString" in this we are storing our connection string value.

when we are using Inproc session state no issues with it. But now we are getting ConnectionString null  and giving error some times (And again its working if we refresh the page). So session is not expiring but the variable "static ConnectionString" unable to get value from SQL server some times.

Especially when we put new build (or) When we put the application idle for some time and use again.

Can somebody help. how to resolve this.

Thank you.


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>