i know this is more of an asp.net Q but i thought it might get answered a little quicker here ....
where's this variable set ?
many thanks
optimus
Printable View
i know this is more of an asp.net Q but i thought it might get answered a little quicker here ....
where's this variable set ?
many thanks
optimus
Taken from another post:
Quote:
Make sure that you have set the Enable Session Set to
true (IIS:WEbSite:Default
Wesite:<yourApplication>:<properties>:Directory
tab:Configuration:Options tab on the Application
Configuration dialog.
Hey! Those smileys should be "D"s.
cheers m8 but we've tried setting this in IIS and it seems to be default but .net is still picking the value up as being false ? .... u don't know a way of doing this programatically in code ?
because when we've edited the page directive it returns and unknown attribute error
ie.
<% Page Language="vb" enableSessionState="True"%>
and when the enableSessionState attribute is added to the web.config as ...
<system.web>
<%enableSessionState="True"%>
</system.web>
the project will not build
fast running out of ideas .... any help greatly appreciated !
optimus
I'm not sure if this matters, but in C#, settings the attribute is case-sensitive. This is what I use:
Worth a shot..Code:EnableSessionState="false"
cheers m8 ill give it a go ..... on one of the microsoft websites it says it all in uppercase but instead of saying
ENABLESESSIONSTATE="TRUE"
it says ....
ENABLESESSIONSSTATE="TRUE"
on another part of the microsoft site it says ....
enableSessionState="True"
and on others it tells u to do it through IIS .... very confusing if you ask me
even the error message reads somthing like
EnableSessionState needs to be set to true .... in either a configuration file or Internet Service Manager
love the way the point you in the right direction all the time
ie.
in a configuration file .... but which f&@kin configuation file ?
:rolleyes: :p :D