Jump to content


This topic is now archived and is closed to further replies.


sessions big problem..

Recommended Posts

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..

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.