Re: [PHP4BETA] session problem
| From: | Oscar E. Retes | Date: | Mon, 29 May 2000 16:19:06 +0000 |
| Subject: | Re: [PHP4BETA] session problem | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-15896@lists.php.net to get a copy of this message | ||
yes. as a matter of fact, i always start sessions with the include files at
te beggining. but it keeps creating new sessions every time. from what i
have seen, if you do something as simple as starting a session, it always
creates a new one, instead of using the one already created. for example,
the following code will produce a new session every time you load the .php
file:
<?
session_start()
?>
if you try that you'll notice it creates a session every time it loads,
instead of using the old one. and yes, cookies are enabled, php session's
life span is set to 0 ('till browser restarts), and so. i'm not new to
sessions. i know this works fine 'cos i have it working in a php4rc1 <
production server. i just don't know what's wrong with this php4.0.0 dist.
please, heeeelp. :)
-----------------------
Oscar E. Retes
http://www.viamedia.com.py
or@viamedia.com.py