[Catalyst] Browser window/tab independent sessions

Perrin Harkins perrin at elem.com
Tue Jan 9 16:57:56 GMT 2007


On Tue, 2007-01-09 at 15:57 +0000, Ian Docherty wrote:
> OK, I see and understand. However, it also depends on the amount of 
> information that has to be stored and there is a limit (but I can't 
> remember what it is) in the length of a URL.

It's somewhat browser and server dependent.  In reality, it's very
unusual to come close to any limits.  It would probably mean you were
shuttling too much state around instead of using your database.

> I can see I might need to put a lot of information into the URL, for 
> example when generating complex free-form reports based on a form (have 
> you seen the reporting system in RT for example).

I use RT, but not the reports.  However, that should demonstrate to you
that this works fine.  If you find it really cumbersome, you can make a
little tool to add everything from a hash to all URLs in a document
automatically.  There are a few of these on CPAN, but all tied to
specific web frameworks I think.

- Perrin




More information about the Catalyst mailing list