Thanks andy, I'll give this a shot however I am already doing this in the constructor of my class. However its just after calling the constructor of the base class. What I have noticed is really freaky. The plugin is loading my php script 4 times when loading to play a file, for the 3 times the session variable is there, then on the 4th time a new session is created but the session variable is empty :|

On 30/08/2005, at 2:43 AM, Andy Pieters wrote:

On Monday 29 August 2005 16:09, Dan Rossi wrote:
? I logged two different sess id's being created.

Hi

I have seen this behaviour as well, although in another context. The solution
was to have the session_start instruction be one of the very first.

In fact, in my software, the session_start is the second instruction on ALL
pages.

<?php

        require_once 'globals.inc.php';

        /* rest of script*/
?>

And globals.inc.php is like

<?php
        session_start();

        define(yadaydayda....
?>

Hope this helps



With kind regards



Andy


--
Registered Linux User Number 379093
Now listening to Blank and Jones and Friends (2005 week 34) - guest DJ Jochen
Miller

   amaroK::the Coolest Media Player in the known Universe!


   Cockroaches and socialites are the only things that can
   stay up all night and eat anything.
                                            Herb Caen
--
-- --BEGIN GEEK CODE BLOCK-----
Version: 3.1
GAT/O/>E$ d-(---)>+ s:(+)>: a--(-)>? C++++$(+++) UL++++>++++$ P-(+)>++
L+++>++++$ E---(-)@ W+++>+++$ !N@ o? !K? W--(---) !O !M- V-- PS++(+++)
PE--(-) Y+ PGP++(+++) t+(++) 5-- X++ R*(+)@ !tv b-() DI(+) D+(+++) G(+)
e>++++$@ h++(*) r-->++ y--()>++++
-- ---END GEEK CODE BLOCK------
--
Check out these few php utilities that I released
 under the GPL2 and that are meant for use with a
 php cli binary:

 http://www.vlaamse-kern.com/sas/

--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to