murugesanks
Programmer
My global.asa file contains the following code
====
<SCRIPT LANGUAGE="VBScript" RUNAT="Server">
Sub Session_OnStart
session("Datasource"
="PORTAL-DSN"
End Sub
</SCRIPT>
and
My Test.asp file contains
===
<%@ Language=VBScript %>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<BODY>
<% Response.write (session("datasource"
) %>
</BODY>
</HTML>
===========
i created a folder(Named Test) in Root( and i stored these two files in Test Directory.
I am not able to see the value of session("Datasource"
.
what is the problem. can any one help me.
====
<SCRIPT LANGUAGE="VBScript" RUNAT="Server">
Sub Session_OnStart
session("Datasource"

End Sub
</SCRIPT>
and
My Test.asp file contains
===
<%@ Language=VBScript %>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<BODY>
<% Response.write (session("datasource"

</BODY>
</HTML>
===========
i created a folder(Named Test) in Root( and i stored these two files in Test Directory.
I am not able to see the value of session("Datasource"

what is the problem. can any one help me.