Menu

session and frames

2002-10-16
2002-10-21
  • Mike Wright

    Mike Wright - 2002-10-16

    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......

     
    • Mike Wright

      Mike Wright - 2002-10-16

      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??

       
      • Shannon Weyrick

        Shannon Weyrick - 2002-10-21

        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...

         

Log in to post a comment.

MongoDB Logo MongoDB