Okay I have a very puzzling issue.

I have a windows 2003 enterprise server.

I have the asp enabled a type to be run in iis.

I have the virtual directory in the application pool.

ect ect ect.

So the issue now that you seen i am not just throwing this to you is 
that my pages will not pass session vraiables. They come up blank.

to give an example of what i am using i give you the 2 pages below. 

The global.asa and the test.asp. When i run the test.asp on my server 
i get nothing back for the test varaiable, but to make it completely 
confusing I get back a session id that does not change on page 
refresh. It does not matter what computer i use. And i have cleared 
cookies and such, restarted the server. Ect EcT ECT  . . . 
blalalasdsaldas ... goin nuts here .......HELP ME PLEASE....




global.asa
Begin ========================================================

<SCRIPT LANGUAGE="VBScript" RUNAT="Server">

Sub Session_OnStart    '  Runs the first time a user runs any page in 
your application
Session("Test") = Now() & "Here!"
        'Create an ADO Connection
        Dim cn
        Set cn = Server.CreateObject("ADODB.Connection")
 
        ' Specify the OLE DB provider.
        cn.Provider = "sqloledb"

        ' Specify connection string on Open method.
        ' To run the sample, edit this line to reflect your server's 
name.
        ProvStr 
= "Server=MY.sdf.dfsdU.dsfU\dasa210;Database=Northwind;UID=sdfwwefr;PW
D=viadsd31;"

        cn.Open ProvStr

        Set Session("cnn") = cn
        

END Sub

Sub Session_OnEnd    '   Runs when a user's session times out or 
quits your application

        'Close the data connection
        cn.Close

END Sub

</SCRIPT>
End ========================================================



test.asp
Begin ========================================================

<%@ Language=VBScript %>
<%
Response.Write "Session variable: Test" & Session("Test")
%>



----------<% Response.Write( Session.SessionID ) %>-------------

End ========================================================








---------------------------------------------------------------------    
 Home       : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
 Post       : [email protected]
 Subscribe  : [EMAIL PROTECTED]
 Unsubscribe: [EMAIL PROTECTED]
--------------------------------------------------------------------- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/active-server-pages/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to