Re: [PHP4BETA] session problem
[email protected] ("Oscar E. Retes")
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <[email protected]> |
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
[email protected]