Hi there..
We run a Magento Webshop at the moment. This shop creates 8 sessions by itself.
For a affiliate program I want to add "my own" session (named: affiliate).
I create this with:
PHP Code:
$_SESSION['affiliate'] = 'yes';
When I echo my sessions this is in the list as it should be.. so far no problems.
Now I'm wondering how long the session lasts and can I set the lifetime for this
session only? So I don't mess up the other sessions that are created by Magento.
And is a session destroyed when the browser is closed, right? Or only after session_destroy
and after the lifetime expires?..
_j