1.1releasedSession Monster

Easily create and remove sessionis by appending values to URLs

Clone URLhttps://github.com/symphonists/sessionmonster.git

Add as a submodulegit submodule add https://github.com/symphonists/sessionmonster.git extensions/sessionmonster --recursive

Compatibility

2.x.x2.1.x2.2.x2.3.x2.4.x2.5.x2.6.x2.7.02.7.12.7.22.7.32.7.42.7.52.7.62.7.72.7.82.7.92.7.10
1.11.11.11.1NoNoNoNoNoNoNoNoNoNoNoNoNoNo

Readme

Session Monster

Installation

  1. Upload sessionmonster, to your /extensions folder
  2. Navigate to 'System' > 'Extensions' and enable it
  3. Add the "Session Monster: Add GET variable to Session" Event to your page. Documentation on the Event can be viewed via the Components area of the Symphony Admin.

Usage

After attaching the event to a page, request it with a URL such as:

/my-page/?colour=red&shape=square

This will store these two values into the Session Monster session. To unset session values, send an empty string:

/my-page/?shape=

Values added to the session via session monster will show in the page params like so:

$sessionmonster-colour = red
$sessionmonster-shape = square

And in the page XML as:

<data>
    <params>
        ...
        <sessionmonster-colour>red</sessionmonster-colour>
        <sessionmonster-shape>square</sessionmonster-shape>
    </params>
    ...
</data>

Version history

Works up to Symphony 2.3

Works up to Symphony 2.2.x

Symphony 2.0.6 to 2.2.x