Hi,

>     right now the session module can "only" store one cookie (or
>     one info in trans-sid) my patch extends that to one
>     user-defined variable so that:

I am not quite sure whether I understood what you are trying to do,
but assumingly you have 2 frames:

  +---------------+
  |      foo      |
  +---------------+
  |      bar      |
  +---------------+

what's wrong about keeping all session-related data in an array?

  $data["foo"]["counter"];
  $data["bar"]["counter"];

and accordingly:

  foo.php
  =======

  <?php

  echo "Counter is now" . (++$_SESSION['foo']['counter']) . "<br>\n";
  
  ?>

  
  bar.php
  =======

  <?php

  echo "Counter is now" . (++$_SESSION['bar']['counter']) . "<br>\n";
  
  ?>

Or did I miss something?

Multiple session IDs only cause confusion. I'm -1.
  
-daniel



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to