Extending Joomla session management - Joomla! Forum - community, help and support


i setup joomla site record referer string when users session first initiated, , later able lookup original referer later when user performs specified action.  attempting implement advanced conversion tracking.

i'm looking documentation how joomla session management works, best way go extending current behavior.

i interested in jooma extension perform similar action at.


tia,

steve

hello steve,

the $mainframe object (in global scope) keeps track of current session. using in code:

code: select all

global $mainframe;

$sessionid = $mainframe->_session->session_id;


... set $sessionid session_id used in jos_session. i've seem have found though value not set during first visit page gets read cookie @ first. have project i'm logging session_id through plugin on onafterstart event; gets session_ids second , subsequent calls, never first one. can enlighten us?





Comments