How do I enable session variables in WAMP5 2.0

Session variables are not working at all in WAMP5, any suggesions?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Have you done session_start(); ???
awarraicAuthor Commented:
Yes I did.
Here are three pages that I have.
Page 1 - login page ---------- login in and sending the lgoin info to page 2
<form action="auth.php" method="gett">
     Please Log In
      <label for="user_name">Username* </label>
        <input type="text" name="user_name" id="user_name" />
        <label for="user_password">Password*</label>
        <input type="password" name="user_password" id="user_password"  />
        <input type="submit" name="submit" id="submit" value="submit"  />

Page 2 ------------------------------- setting up the session variables
$input_username = $_GET['user_name'];
$input_password = $_GET['user_password'];

$_SESSION["authenticate"] = $input_username;
$_SESSION["password"] = $input_password;

page 3 ---------------------- printing out passed session values
<?php session_start();
echo "test 1 = ";
echo $_SESSION["authenticate"];
echo $_SESSION["password"];
I have no problem with it... I just did session_start(); on the second page and I am running WAMP5 Version 1.7.2. Maybe it's your install that's corrupt?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Oh and by the way you need to make session_start(); one of the first lines of code you write. And I am unsure but I don't think you can echo or print any thing before that line of code...
john chambersweb designerCommented:
You also have to include session_start(); on page 2 prior to setting the session variables.
awarraicAuthor Commented:
Yea sorry, have that session_start(); on page 2, just mistypoed in here when I cleaned the code a lil bit.
awarraicAuthor Commented:
Thanks much.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.