how to enable sessionstate in MOSS 2007
-
Monday, September 05, 2011 7:39 AM
Hi,
I would like to enable sessionstate in my web parts & application pages in my MOSS 2007 web appln.
How to do that?
i went to central admin & checked the checkbox for enable sessionstate and gave 60 min as default timeout. is that sufficient enough to enable the session state in my web part/ appln pages.
or do i need to make any changes in web config / iis
plz help
shankar- Edited by Shankardas Monday, September 05, 2011 7:39 AM k
- Moved by Mike Walsh FIN Monday, September 05, 2011 7:41 AM admin q (From:SharePoint - Development and Programming (pre-SharePoint 2010))
All Replies
-
Monday, September 05, 2011 8:03 AM
Yes, you need to do changes in web.config file
Please go through this article
http://vspug.com/erickraus/2007/12/09/enable-session-state-in-sharepoint-2007/
w: http://www.worldofsharepoint.com | t: @sharesandip- Proposed As Answer by Rashu,Rahul Monday, September 05, 2011 12:14 PM
- Marked As Answer by Wayne Fan Thursday, September 15, 2011 3:59 AM
-
Friday, September 09, 2011 8:49 AM
Hi Shankar,
In order to enable session state for the farm, you must first configure an SSP for a Web application. Without an SSP configured and associated with a Web application, session state will not function on the farm.
If there is already an SSP associated with a Web application, you can go straight to Enable or disable session state.
You can refer to:
http://technet.microsoft.com/en-us/library/cc263527(office.12).aspx
Thanks,
Pengyu Zhao
- Marked As Answer by Wayne Fan Thursday, September 15, 2011 3:59 AM

