Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Web Coding › PHP Session check help
New Posts  All Forums:Forum Nav:

PHP Session check help

post #1 of 2
Thread Starter 
xx
post #2 of 2
Just fyi, don't store passwords in cookies or sessions. It's a no, no.

I don't see anything wrong with your code a first glance. Except, right before you display check to see if the user is logged in for determining what content will be displayed (welcome message or login form), do you have line somewhere that will specifiy $logged_in = checkLogin();, like it does in the very few lines of your code?
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Web Coding
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Web Coding › PHP Session check help