|
-
Nov 5th, 2003, 07:25 AM
#1
Thread Starter
Lively Member
enableSessionState ? where's it set
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
-
Nov 5th, 2003, 09:02 AM
#2
Fanatic Member
Taken from another post:
Make sure that you have set the Enable Session Set to
true (IIS:WEbSite  efault
Wesite:<yourApplication>:<properties>  irectory
tab:Configuration:Options tab on the Application
Configuration dialog.
-
Nov 5th, 2003, 09:03 AM
#3
Fanatic Member
Hey! Those smileys should be "D"s.
-
Nov 5th, 2003, 09:57 AM
#4
Thread Starter
Lively Member
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
-
Nov 5th, 2003, 10:40 AM
#5
PowerPoster
I'm not sure if this matters, but in C#, settings the attribute is case-sensitive. This is what I use:
Code:
EnableSessionState="false"
Worth a shot..
-
Nov 5th, 2003, 10:46 AM
#6
Thread Starter
Lively Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|