--- Enrico Sorcinelli <[EMAIL PROTECTED]>
wrote:
> On Wed, 20 Aug 2003 13:18:12 -0700 (PDT)
> Hi Jeff,
> The problem is here!
> Try to put:
>
> PerlHeaderParserHandler
> Apache::SessionManager
>
> inside <Directory> block (and comment
> PerlTransHandler outside, of course).
ACK!!! I was reading too fast :)
<Directory
/data/apache/sites/lerch.unlocalhost.com/html>
<Files *.html>
SetHandler perl-script
PerlHandler Apache::Template
PerlHeaderParserHandler
Apache::SessionManager
PerlSetVar SessionManagerName
LERCHSESSIONID
PerlSetVar SessionManagerDebug 1
PerlSetVar SessionManagerTracking On
PerlSetVar SessionManagerExpire 3600
PerlSetVar SessionManagerInactivity 900
PerlSetVar SessionManagerStore File
PerlSetVar SessionManagerStoreArgs
"Directory => /data/apache/sites/lerch
</Files>
</Directory>
[%
USE CGI;
USE session = Apache.SessionManager;
SID = session.get('_session_id');
request.header_out('Set-Cookie',"LERCHSESSIONID=$SID;
path=/");
IF session.get('admin_id');
admin_logged_in => 1;
END;
%]
Everything works beautilfully now. :) But setting
that cookie so seems rather troublesome ... i
wonder if there is a better way?
Thanks Enrico, Andy, Mark, and Perrin for all the
help. (now
i am off to try out Mark's suggestion just to see
the difference.)
jeffa
--- Enrico Sorcinelli <[EMAIL PROTECTED]>
wrote:
> On Wed, 20 Aug 2003 13:18:12 -0700 (PDT)
> Jeff Anderson <[EMAIL PROTECTED]> wrote:
>
> Hi Jeff,
> The problem is here!
> Try to put:
>
> PerlHeaderParserHandler
> Apache::SessionManager
>
> inside <Directory> block (and comment
> PerlTransHandler outside, of course).
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates