What is Session State Setting need our Application.Hi
What is Session State in Webconfig File?
I have create new web application but my Webconfig created like this
<sessionState mode="InProc" customProvider="DefaultSessionProvider">
But Why we need use this line ?
then after i search google change this line like this
sqlConnectionString="data source=localhost;initial catalog=YourAspStateDatabase;user id=yourLogin;password=yourpassword" cookieless="false" timeout="30"/>
But i meet following error comes
Unable to use SQL Server because either ASP.NET version 2.0 Session State is not installed on the SQL server, or ASP.NET
does not have permission to run the dbo.TempGetVersion stored procedure. If the ASP.NET Session State schema has not been installed,
please install ASP.NET Session State SQL Server version 2.0 or above. If the schema has been installed, please grant execute permission
on the dbo.TempGetVersion stored procedure to either the ASP.NET application pool identity, or the Sql Server user specified in the sqlConnectionString attribute.
But I need must know why we use Session State in our webconfig file what is purpose for this
any one guide me.