PDA

View Full Version : Session State


hongjun
05-11-2003, 11:43 AM
My friend just told me this. We cannot use ENABLESESSIONSTATE=True to enable session for site/directory if session is disabled at site/directory level. How true is that?

raf
05-11-2003, 03:31 PM
Welcome here.

It is true. You can disable sessions in IIS for an application. Normally, this is a bad idea, but it can be better for the server performance to disable session.

If you put
<%@ ENABLESESSIONSSTATE=False %>
to disable session tracking for a page (page will be processed faster woth lesser load on server) but disabeling session in the IIS normally is not a good idea since it makes it a lot harder to maintain state.

hongjun
05-11-2003, 03:34 PM
What is true?
Are you implying ENABLESESSIONSTATE=true will have no effect?

hongjun

raf
05-11-2003, 03:51 PM
As far as i know (and i've did a quick check in my debugging book);
if yous disable sessions in ISS, <%@ ENABLESESSIONSSTATE=True %> will have no effect.
If you use the normal IIS configuration, the sessions will be enabled. Putting <%@ ENABLESESSIONSSTATE=False %> on top of a page that doesn't rely on sessions will have a positive effect on the servers performence. (not always, but in most cases)

hongjun
05-11-2003, 03:54 PM
Thanks a lot.
BTW how CF determine who are the forum leaders?

raf
05-11-2003, 04:28 PM
You're welcome.
BTW how CF determine who are the forum leaders?
Best ask WA for that. Some months ago, they asked new moderators for some forums, but i don't know if there are fixed criteria or what are.
Don't need to be a mod to help people ;)

oracleguy
05-11-2003, 10:05 PM
Originally posted by raf
You're welcome.

Best ask WA for that. Some months ago, they asked new moderators for some forums, but i don't know if there are fixed criteria or what are.
Don't need to be a mod to help people ;)

I was one of those 5 to join the mod team a few months ago. You have to be a member who has been around for a while and is in good standing. You also gotta know a lot about the area you are moderating.

Basically what happened a few months ago, George (WA) posted a thread in the feedback forum asking for new mods and you had to PM if you were interested. So I assume if the need for more mods ever rises again, thats what he'll do. Like raf said, just ask him if your intrested in what he does to screen people, cuz I don't know anything about that.