Re: [Templates] Using sessions

[prev] [thread] [next] [Date index for 2005/01/15]

From: Cees Hek
Subject: Re: [Templates] Using sessions
Date: 18:10 on 15 Jan 2005
On Sat, 15 Jan 2005 08:10:30 +0200, Octavian Rasnita <orasnita@xxx.xx> wrote:
> Hi,
> 
> I want to create a site which will use TT2 and mod_perl.
> 
> Can you tell me if the modules CGI::Session or CGI::Application can be used
> well with TT2 and mod_perl, or there are other modules that are easier to
> use with TT for creating sessions, setting or getting cookies...?

All of the modules you list work very well together.  CGI::Application
uses HTML::Template by default, but you can use
CGI::Application::Plugin::TT to give you easy access to Template
Toolkit from within your apps.

As for sessions, check out CGI::Application::Plugin::Session to
automatically give you CGI::Session support in CGI::Application. 
There is also an Apache plugin for CGI::Application that makes
integration into mod_perl a cinch.

Of course this is perl, so there are many other alternatives as well...

Cheers,

Cees

_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

[Templates] Using sessions
Octavian Rasnita 06:10 on 15 Jan 2005

Re: [Templates] Using sessions
Cees Hek 18:10 on 15 Jan 2005

Generated at 08:55 on 15 Mar 2005 by mariachi v0.52