Jump to content


Photo

sessions big problem..


  • Please log in to reply
No replies to this topic

#1 corillo181

corillo181
  • Members
  • PipPipPip
  • Advanced Member
  • 896 posts

Posted 06 May 2006 - 08:05 AM

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users