SESSION variables are not working properly

Hey Everyone! i am having a problem in my website, the session variables are working properly on local server, but not on live server. I am doing it like this
[php]
session_start();
$_SESSION[‘pin’] = $pin;
[/php]

and i am calling it like this.
[php]
session_start();
$pin = $_SESSION[‘pin’];
echo $pin;
[/php]

pleae help me i am new to this…

Hi Aneeb,

Since its working in your local server, it should be the web hosting server settings. You should ask their customer support or you can try this: http://open-classifieds.com/forum/topic/need-help-with-enable-sessions-on-my-server

Regards,
developer.dex2908

Thanks Dex2908, really appreciate your answer.

You are welcome Aneeb.

Regards,
developer.dex2908

Sponsor our Newsletter | Privacy Policy | Terms of Service