Geoff March wrote:
I'm having the strangest problem with sessions.  I've written a Perl class
which seems to cause the values I store in $Session to vanish!  I believe
the behavior may be attributed to the fact that I refer to $Session
directly from inside the suspect class, which, in turn, is called from an
ASP page.  The result is that the values stored in the current session get
blown away about 40% of the time.

Has anyone seen this behavior?  I've searched for documentation about it,
but I haven't turned anything up.

Thanks,

Geoff



If outside global.asa, or the ASP scripts, make sure to reference session as $main::Session, otherwise you are not necessarily referencing a valid object. Also make sure to "use strict;" in perl modules, and PerlSetVar UseStrict for Apache::ASP config.

--Josh
________________________________________________________________
Josh Chamas, Founder                   phone:925-552-0128
Chamas Enterprises Inc.                http://www.chamas.com
NodeWorks Link Checking                http://www.nodeworks.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to