NAME
OpenInteract - mod_perl handler to process all OpenInteract requests
DESCRIPTION
This documentation is for the OpenInteract Apache content handler. For general information about OpenInteract, see OpenInteract::Intro.
This content handler creates the OpenInteract::Request object and farms requests out to all the relevant handlers -- cookies, session, authentication, themes, etc.
We walk through a number of steps here. They are probably self-evident by checking out the code, but just to be on the safe side:
Retrieve the StashClass from the Apache config
Grab the Config object from the StashClass
Create/retrieve the request object.
Create the
Apache::Request
objectCreate the config (if it is not already around)
Create the cache object if we are supposed to use it
Parse the URL and decide which conductor (UI) should take care of the request
Get the cookies
Recreate the session if possible
Authenticate the user
Get the groups the user belongs to
Create the theme
Retrieve the page from the conductor
Save the session
Bake the cookies (put them into outgoing headers)
Send the http header(s)
Send the content
Cleanup
NOTES
If you get an error with something like:
Can't locate object method "cookies" via package "OpenInteract::Request" at /usr/lib/perl5/site_perl/5.6.1/OpenInteract.pm line 226.
This likely means that the OpenInteract::Request::setup_aliases()
wasn't run. Typically this is run in the PerlChildInitHandler when an Apache child is first created. This points to a larger problem if it is not run. (What exactly is that larger problem? Still working on that...)
TO DO
Nothing known
BUGS
None known
COPYRIGHT
Copyright (c) 2001 intes.net, inc.. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHORS
Chris Winters <chris@cwinters.com>