ID:               42751
 Updated by:       [EMAIL PROTECTED]
 Reported By:      neetisomaiya at gmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Session related
 Operating System: Linux
 PHP Version:      4.4.7
 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.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.




Previous Comments:
------------------------------------------------------------------------

[2007-09-25 06:46:34] neetisomaiya at gmail dot com

Description:
------------
Hi,

I have 3 php scripts. 

In the first script I have a dropdown box, the user selects an organism
from this and clicks submit. This takes him to page2. In the page2.php
script, the organism value is set as a session variable. When I print
the organism name on page2 after setting it as a session variable, it
works fine and shows me the value that the user had choosen on the first
page. 

This page2 has a second dropdown where the user chooses a pathway and
clicks submit. This takes the user to page3. In the page3.php script,
the pathway value is set as a session variable. When I print the pathway
value on this page3, it works fine, it shows me the value chosen by the
user on page2. But when on this page3 I try to print the organism value,
which was chosen on page1 and set as a session variable in page2.php, I
don't get its value.

What could be the problem?

I am using session_start() on both page2 and page3.

Expected result:
----------------
I expect to see both the organism name and pathway name on page3
because both are session variables.

Actual result:
--------------
I get the organism name on page2 and pathway name on page3, but I want
both organism name and pathway name on page3. 


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=42751&edit=1

Reply via email to