Thanks, much appreciated.
Cheers
Ken
From: dan...@danielbrown.id.au
To: ozmoss@ozmoss.com
Date: Wed, 4 Nov 2009 10:39:10 +1030
Subject: RE: Session state can only be used when enableSessionState is set
to true ...
Howdy, Yes, as long as they are in the same folder, you should be
If you are storing session state in memory.. then you will have to add
following in web.config
sessionState mode=InProc cookieless =false timeout=60/.. and
comment/remove the default mode of SqlServer.
On Wed, Nov 4, 2009 at 12:54 PM, Daniel W. Brown
dan...@danielbrown.id.auwrote:
KB
KB Article also: http://support.microsoft.com/kb/837376
From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of
Daniel W. Brown
Sent: Wednesday, 4 November 2009 10:23 AM
To: ozMOSS
Subject: RE: Session state can only be used when enableSessionState is set to
true ...
Actually don't... Session state in SharePoint is not the same as ASP.NET
See this: http://msdn.microsoft.com/en-us/library/ee413746.aspx
and this: http://technet.microsoft.com/en-us/library/cc263527.aspx
BTW... it was not a recommended practice in SharePoint 2003 but is perfectly
fine in
Hi Daniel:
“EnableSessionState=true” works and I need to specify the page in the
web.config.
PageParserPaths
PageParserPath
VirtualPath=/divisions/information_services/teams/applications/kenny/Pages/CharterAccountSearch.aspx
CompilationMode=Always AllowServerSideScript=true /
Howdy,
Yes, as long as they are in the same folder, you should be able to supply
/divisions/information_services/teams/applications/kenny/Pages/* as the value
From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of
ken zheng
Sent: Wednesday, 4 November 2009 10:39 AM
To:
Hi Guys:
I believe this could be a old topic, but just like to know how to solve the
problem when I use Session in my custom page? I can use ViewState as workaround
and I can use session in my webpart without error. All session state has been
enabled in web.config
The full error is:
If you add EnableSessionState=true to your %@ Page language=c#
Codebehind= ... % it should enable it JUST for that page, Alternatively, you
may want to enable it in the web.config
From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of
ken zheng
Sent: Wednesday, 4