corillo181 Posted May 6, 2006 Share Posted May 6, 2006 i don't know what is wrong with my session i got every thing right as far as i know.. and when the use rlog in i only get the username as the session register..the problem is if the user sign into the main page it says welcome and the users screename..now if the user goes toa nother page the name changes to my sql username..why does it change to the username i use for my sql?i got session_start() in every page..does anyone know why is this please answer as fast as you can.. or i'll have to delet my entire sessions scripts..forget it.. 5 seconds later i got it.. :) i had the database log in name as $username too.. so the session was reading the username from the database and take it's value instead of the post one.. Quote Link to comment https://forums.phpfreaks.com/topic/9176-sessions-big-problem/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.