-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Varad_RS
Message 34 in Discussion


#) ASP.NET SQL Server Session state - Links and 
Overview

Basic steps to set up 
SQL Server Session state1. Run either of these scripts 
(InstallSqlState uses temp tables, InstallPersistSqlState uses permanent tables 
so it survives 
reboots)
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\InstallSqlState.sql
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\InstallPersistSqlState.sql 




2. Change your session state 
mode in web.config to SQLServer:
<sessionState
  
mode="SQLServer"
  sqlConnectionString="data source=server;user 
id=uid;password=pwd"
  cookieless="false" timeout="20" />


ReferencesGood overview http://idunno.org/dotNet/sessionState.aspx 



MSDN overview of SQL Server 
Session State
http://support.microsoft.com/default.aspx?kbid=311209


Common 
issues325056 PRB: 
Session State Is Lost in Web Farm If You Use SqlServer or
http://support.microsoft.com/?id=325056
323744 FIX: "The View State Is Invalid 
for This Page and Might Be Corrupted"
http://support.microsoft.com/?id=323744 
 
 
Regards,
Varad
Systems Analyst
Microsoft Solutions Group
Satyam 
Computer Services LTD.,
       "We Learn 
Together & We Grow Together"

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to