Dmitry Beransky wrote:
>
> Hi,
>
> I'm not sure what exactly it is that I'm trying to ask, so please bear with
> me... :)
>
> I have a handler invoked with PerlHandler and a set of related ASP
> files. The ASP files store state data in a $Session object. I need the
> perl handler to choose an ASP file and issue an internal_redirect to it
> based on data stored in the $Session object. Is this possible? Maybe I've
> been at it for to long, but I can't figure out how to access the
> ASP::Session object from a content handler.
>
I would do a normal $Response->Redirect() in the
Script_OnStart event handler, which you can define in
the global.asa. $Session will be available there, and this
will execute for each script in the asp application.
If you want to do it outside of Apache::ASP, you could
look into using Apache::Session with a PerlPostReadRequestHandler
or some phase before the content handling that will do
the right thing for you.
-- Joshua
_________________________________________________________________
Joshua Chamas Chamas Enterprises Inc.
NODEWORKS >> free web link monitoring Huntington Beach, CA USA
http://www.nodeworks.com 1-562-683-2142