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: ozmoss@ozmoss.com Subject: RE: Session state can only be used when enableSessionState is set to true ... 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" /> </PageParserPaths> Is there a way I can allow all the pages rather than write every single aspx file? Cheers Ken ________________________________ From: dan...@danielbrown.id.au To: ozmoss@ozmoss.com Date: Wed, 4 Nov 2009 10:22:30 +1030 Subject: RE: Session state can only be used when enableSessionState is set to true ... 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 November 2009 10:19 AM To: ozmoss@ozmoss.com Subject: Session state can only be used when enableSessionState is set to true ... 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: Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration>\<system.web>\<httpModules> section in the application configuration. Thanks Ken
_______________________________________________ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss