website session not set
Posted
by Matt
on Stack Overflow
See other posts from Stack Overflow
or by Matt
Published on 2010-05-25T04:02:25Z
Indexed on
2010/05/25
4:11 UTC
Read the original article
Hit count: 424
php
|web-development
Hello,
I'm kind of a website development nub so bear with me.
My problem is that the website php session doesn't seem to be set when I log in to my website. After ensuring that the username and password are correct, I have the following simple code:
$_SESSION['username'] = $myusername;
$_SESSION['password'] = $mypassword;
session_start();
Content that should display after logging in is not displayed.
Thanks in advance,
Matt
© Stack Overflow or respective owner