Hi Jeff,

>ACK!!! I was reading too fast :)

:-)

> [% 
>    USE CGI;
>    USE session = Apache.SessionManager;
>    SID = session.get('_session_id');
>  
> request.header_out('Set-Cookie',"LERCHSESSIONID=$SID; path=/");
> ...
> Everything works beautilfully now. :) But setting
> that cookie so seems rather troublesome ... i
> wonder if there is a better way?

You don't set any session cookie directly from templates! 
T::P::S::SM will do this for you!

Again, T::P::A::SM contains a complete tutorial on
using it with Apache::Template :-)

by

   - Enrico



_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to