Sign in to follow this  
onceloving

[web] PHP SESSIONS

Recommended Posts

onceloving    106
I'm having trouble getting these sessions to write. It doesn't work when I mirror it through a .tk site and use IE. If I open up the page from off the actual server with IE it works fine. If I open up the page from Netscape or Firefox off of the .tk site it works fine. There just seems to be something wrong with opening it off the .tk site and IE. Here is my code. Can anyone help me?
//Just a side note, I call session_start(); at the top of the page

$fname = $row["fname"];
$lname = $row["lname"];
$_SESSION["fname"] = $fname;
$_SESSION["lname"] = $lname;
$account = $_POST["username"];
$_SESSION["user"] = $account;
$_SESSION["login"] = "yes";

Share this post


Link to post
Share on other sites
onceloving    106
I just made a test page and I found out that it isn't setting the $_SESSIONs. I also found out that if I manually go to another page not on the .tk site, the .tk site starts working with IE. I think the .tk code is affecting the session_start(). Does anyone have any ideas on how I can fix this?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this