I have build a news manager which uses sessions for registering users and authorizes them.
Now in the previous versions all are working perfect , in my new version where i added one more field in the session variable and its in this form , lets say
$mySesAuth="$myUniqueID:myUser:$myPassEncr";
Now before anything i make session_start();
and then session_register();
After in my script i set my variable to something like above.
The funny thing is that when i log in , make the database call and the script finds the user and tells me everything its all right , when i use my menu to access an onother script , ex articlepost.php , my session is empty and i have to logout meaning make a session_destroy then login again , and then everything works fine.
I use frames , two frames , the upper frame has the menu with javascript calls to the other scripts. the main frame is where the scripts show result or called.
i use php4.03.pl1 and my demo server has php.4.0.6
Does anyone has any idea why something like this is happening?
Im still working out to find why..
Thanks in advance
Haribalos.