Ask a Question related to ASP, Design and Development.
-
Brad #1
Global.asa and EnableSessionState
Hello Everyone,
I was wondering if the following line at the top of my global.asa file is
legal:
<SCRIPT @ENABLESESSIONSTATE = FALSE LANGUAGE = VBSCRIPT RUNAT = SERVER>
It does not produce any errors when I access my site, but since I am mixing
an @ directive with the Language and Runat statements, I just wanted to be
sure. I was also wondering if having the EnableSessionState=False directive
even needs to be included inside the Global.asa file.
At the top of all my .asp files, I have the following:
<%@ENABLESESSIONSTATE = FALSE LANGUAGE = VBSCRIPT%>
<%Option Explicit%>
If I have the EnableSessionState=FALSE in my Global.asa file (and if it's
legal), do I need to have this same statement at the top of all of my .asp
files, or will the setting propagate through the entire application?
Also, I've been wondering why I seem to have to separate the Option Explicit
into other <%%> rather than being able to have all of these statements
within the same <%%> block.
TIA, :)
~Brad
Brad Guest
-
Repost: Global.asa and EnableSessionState
Hello Everyone, I was wondering if the following line at the top of my global.asa file is legal: <SCRIPT @ENABLESESSIONSTATE = FALSE LANGUAGE... -
Can't use Session in ASP.NET - enableSessionState error
Cristian, If you add an appkey to the web.config, are you able to retrieve it? I'm just wondering if the web.config is getting parsed. Jim... -
Global Error handling in Applicatio_Error() of Global.asax
Hi all, For a web application if we are using web farm, and if i want to do Global Error handling can i use Applicatio_Error() method in... -
enablesessionstate Page directive is needed to use the Session object
Hello, on IIS6 running on Win2003 server std. I get this error "enablesessionstate Page directive is needed to use the Session object" ... -
Help Please: 'Warning 5001 global variable "iF_timer" already defined in global scope
Hi there, I have just started to get this error: 'Warning 5001 global variable "iF_timer" already defined in global scope The variable name...



Reply With Quote

