ID: 30353 Updated by: [EMAIL PROTECTED] Reported By: mani_he at yahoo dot com -Status: Open +Status: Bogus Bug Type: Unknown/Other Function Operating System: Windows XP Home Edition PHP Version: 4.3.8 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. . Previous Comments: ------------------------------------------------------------------------ [2004-10-07 18:08:58] mani_he at yahoo dot com Description: ------------ I made 2 pages that both have to have a session. on all pages I start the session_start(); So let see I have page1.php and page2.php on page1.php I start the session and I used the $_SESSION to ceate the session. and after that I use echo to see my session variable, when i go to page1.php on page2.php again I start session_start(); and I try to echo my session in page2.php, But seems that I loose my session, or the connection is gone I wondering that you guys can help me. php.ini config session.save_hander = files session.save_path = C:\WINDOWS\Temp sesion.use_cookies = 1 session.name = PHPSESSID session.auto_start = 0 session.cookie_lifetime = 0 session.cookie_path = C:\WINDOWS\Temp\Coockies\ session.cookie_domain = none session.serialize_handler = php session.referer_check = session.entropy_length=0 session.entropy_file = session.cache_limiter = private session.cache_expire = 180 session.use_trans_sid = 0 I'm using php 4.3.8 and mysql and apache 1.3 31 in windows Xp Home Edition Thank You Reproduce code: --------------- //page1.php <? session_start(); ?> <html> <body> <?php $_session['user']= "NAME"; echo $_session['user']; ?> <a href="page2.php">page2</a> </body> </html> this page will show us the NAME //page2.php <? session_start(); ?> <html> <body> <?php echo $_session['user']; ?> <a href="page2.php">page2</a> </body> </html> Expected result: ---------------- page1.php I can see NAME Page2.php Nothing ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30353&edit=1
