How to set a session variable?

How to set a session variable?

Friday 18 November 2005 9:52:27 am - 2 replies

Author Message

Ɓukasz Serwatka

Monday 21 November 2005 6:25:29 am

This is not possible from template by default. You can use e.g custom template operator however here you can expect some limitation because of view caching.

If the view cache has been generated for a page and the next user requests it the template code will not be run. Disable view cache for tpl might help but cost of doing this will be performance.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Kevin Jonkers

Monday 21 November 2005 8:12:44 am

How is it possible that a big system like EZ doesn't have a function for this?

Pretty stupid I need to pass around variables all the time, but I guess that is the way to go...

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.