G
Guest
Hi
I am using SQL Server to store session State. For this i have to specify
<sessionState
mode="SQLServer"
sqlConnectionString="data source=127.0.0.1;user
id=<username>;password=<strongpassword>"
cookieless="false"
timeout="20"
/>
in Web.config file. BUT i do not want to reveal User id and password in
this connection string, how can i do this. Can i set the connection String
Programatically in say Global.asax.
I am using SQL Server to store session State. For this i have to specify
<sessionState
mode="SQLServer"
sqlConnectionString="data source=127.0.0.1;user
id=<username>;password=<strongpassword>"
cookieless="false"
timeout="20"
/>
in Web.config file. BUT i do not want to reveal User id and password in
this connection string, how can i do this. Can i set the connection String
Programatically in say Global.asax.