Question subject: PHP session variables problem in Firefox
Posted: Thu Jul 30, 2009 9:31 am
Joined: Fri Jun 26, 2009 5:50 am Posts: 23 Has thanked: 0 time Have thanks: 1 time
Hi, I have developed a small application for my company on PHP but have some small difficulty to overcome. In fact some session variables are getting vanished mysteriously. Here is the flow :
index.php->page1.php->page2.php->page3.php
Here are the excerpts from the files.
index.php :
session_start(); session_register("username_session"); session_register("fullname_session"); $_SESSION["username_session"]=<value from database> $_SESSION["fullname_session"]=<value from database>
page1.php :
Nothing related to session or session variables in this page. Just pass on a few form fields to next page. The form fields are "firstvar" and "secondvar"