Frames and sessions work ok only if a cookie is used.
How about adding an optional parameter to the startSessions method which is the sID of an existing session? If the parameter is set no new session is started but the existing sID is used. This would mean that pVars can be shared across frames reliably......
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
May be this is more of a bug rather than a request for a feature as line 101 (smSessions.inc):
// setup local sessionID variable. it will attempt to retrieve it via GET/POST
$this->sessionID = $this->inVarH->getVar($this->directive['sessionIDName']);
doesn't seem to do anything. Doesn't it need a session before it can use a getVar??
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Frames and sessions work ok only if a cookie is used.
How about adding an optional parameter to the startSessions method which is the sID of an existing session? If the parameter is set no new session is started but the existing sID is used. This would mean that pVars can be shared across frames reliably......
May be this is more of a bug rather than a request for a feature as line 101 (smSessions.inc):
// setup local sessionID variable. it will attempt to retrieve it via GET/POST
$this->sessionID = $this->inVarH->getVar($this->directive['sessionIDName']);
doesn't seem to do anything. Doesn't it need a session before it can use a getVar??
no because getVar will check GET/POST variables, as the comment mentions. that means if it was passed to the script, it will use it.
i fail to see a bug here...