I think it is a caching issue. As now I took out every line in the code behind and it says there is an error on a blank line!
-----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Belcher Sent: Monday, May 16, 2005 2:03 PM To: [email protected] Subject: [AspNetAnyQuestionIsOk] SESSION STATE - EnableSessionState="false" I have placed this in the homepage of the website. I also do not have any session variables declared of any kind in the code behind. I also commented out all the code to see what that would do as I was frustrated with the below error. The thing is I am just disabling it in the default page as there is no seed for it there. It tells me the error is in line 31 and that is a COMMENTED OUT LINE! There is no code in the page.......... I read on Microsoft website that you can disable a page from sessions with EnableSessionState="false" in the page directive. I keep getting this error though. And the lines it says have the errors are all commented out............ any ideas Server Error in '/' Application. ---------------------------------------------------------------------------- ---- Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Web.HttpException: Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Yahoo! Groups Links Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
