M
Marcelo
Hi, I'm running a web application in a server where I play with session
variables. In this case, language.
Now when I want to do the same at my local IIS, it won't accept a value for
that variable.
I use the following code at Global.asa
<script Language="VBScript" RUNAT=Server>
Sub Application_OnEnd()
End Sub
Sub Application_OnStart()
Application("NumSession") = 0
Application("NumVisited") = 0
End Sub
Sub Session_OnEnd()
Application("NumSession") = Application("NumSession") - 1
End Sub
Sub Session_OnStart()
Application("NumSession") = Application("NumSession") + 1
Application("NumVisited") = Application("NumVisited") + 1
Session("language")=2
End Sub
</script>
When running at my hosting service, it accepts the language variable and so
I can work on my sql queries.
When running at my local machine it has 0 as a value on language variable.
Do you have an idea on what the problem is?
I'd appreciate any help. Thanks in advance,
Marcelo.
variables. In this case, language.
Now when I want to do the same at my local IIS, it won't accept a value for
that variable.
I use the following code at Global.asa
<script Language="VBScript" RUNAT=Server>
Sub Application_OnEnd()
End Sub
Sub Application_OnStart()
Application("NumSession") = 0
Application("NumVisited") = 0
End Sub
Sub Session_OnEnd()
Application("NumSession") = Application("NumSession") - 1
End Sub
Sub Session_OnStart()
Application("NumSession") = Application("NumSession") + 1
Application("NumVisited") = Application("NumVisited") + 1
Session("language")=2
End Sub
</script>
When running at my hosting service, it accepts the language variable and so
I can work on my sql queries.
When running at my local machine it has 0 as a value on language variable.
Do you have an idea on what the problem is?
I'd appreciate any help. Thanks in advance,
Marcelo.