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/

--

Attachment: pgpkh2ZIq86nl.pgp
Description: PGP signature

Reply via email to