My Program is as follows
<% @Language = VBScript %>
<%
Response.Expires = -1
Response.Write session.sessionID
Response.Write session.Timeout
session("name")="arun"
Response.Write session("name")
%>
also the global.asa file is as follows
<SCRIPT LANGUAGE="VBScript" RUNAT=Server>
Sub Session_OnStart
session.Timeout = 30
session("login")="NO"
session("name")=" "
End Sub
Sub Session_OnEnd
session.Timeout = 1
session("login")="NO"
session("name")=" "
End Sub
</SCRIPT>
The follwing error is displayed
Technical Information (for support personnel)
Error Type:
Microsoft VBScript runtime (0x800A01A8)
Object required: 'session'
/s.asp, line 4
Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; SEARCHALOT)
Page:
GET /s.asp
Can any one help me to solve the errors
arun
<% @Language = VBScript %>
<%
Response.Expires = -1
Response.Write session.sessionID
Response.Write session.Timeout
session("name")="arun"
Response.Write session("name")
%>
also the global.asa file is as follows
<SCRIPT LANGUAGE="VBScript" RUNAT=Server>
Sub Session_OnStart
session.Timeout = 30
session("login")="NO"
session("name")=" "
End Sub
Sub Session_OnEnd
session.Timeout = 1
session("login")="NO"
session("name")=" "
End Sub
</SCRIPT>
The follwing error is displayed
Technical Information (for support personnel)
Error Type:
Microsoft VBScript runtime (0x800A01A8)
Object required: 'session'
/s.asp, line 4
Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; SEARCHALOT)
Page:
GET /s.asp
Can any one help me to solve the errors
arun