[EMAIL PROTECTED] wrote:
>
> Hi Joshua,
>
> I am using an Application variable in my application. It is initialized when a user
>session starts as:
> $SID = $Session->SessionID;
> $Application->{$SID} = "somevalue";
>
> When a user's session times out, I try using this application variable ... the key
>is right but I cannot get any value out of the Application hash. I am using:
>
> $SID = $Session->SessionID;
> $Application->{$SID} ;
>
> to retrieve the value.
>
> In my httpd.conf, i have set the AllowApplicationState to "1" in the .htm file
>handler. AllowSessionState is also set to "1".
>
This all should work just fine. Have you tried setting SessionTimeout real
low, like .1, and then doing a $Response->Debug($Application) in your
Session_OnEnd just to see what data is in there ? Also try putting a
"use strict" in your global.asa, or if you are using a dev v.18, try the
UseStrict setting, which may help uncover an error in your code.
If you can't get this to work, show me the debug output with Debug set
to -2 from the first write of the application till the Session_OnEnd
in particular. You will need to put in $Response->Debug() statements
at various places to show what data $Application holds at various points.
> Another confusion I have is with the StatINCMatch variable. Can I use this variable
>to reload modules in a particular directory ... not reload all the modules with
>
> PerlSetVar StatINCMatch Provillage/*
> (where Provillage dir is in the perl directory path and contains the modules that I
>would like reloaded)
>
Yes, that's how its use is intended.
-- Joshua
_________________________________________________________________
Joshua Chamas Chamas Enterprises Inc.
NodeWorks >> free web link monitoring Huntington Beach, CA USA
http://www.nodeworks.com 1-714-625-4051