Apr 4th, 2012, 02:33 PM
After upgrading from asp.net 2.0 to 3.5, session do not work
I just upgraded one asp.net 2.0 (using vs2008) app to asp.net 3.5 (using vs2010) but session do not work. (pass a value from one page to another page)
I used code in web.config file as below. Please help me.
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;user id=sa;password=" cookieless="false" timeout="120"/>
Apr 4th, 2012, 07:57 PM
Re: After upgrading from asp.net 2.0 to 3.5, session do not work
inproc and sql?
What you try here is storing the session in memory but using an sql server to store it and all these remotely.
Do you have a specific requirement for the session or it's just the default session?If so then remove all the session lines you have here from web.config.
If you need something specific then have a look here:
Click Here to Expand Forum to Full Width