I am using session variables, it is working on local but I run on server, it is not running. I am using Jquery

Recommended Answers

All 3 Replies

Where r u using session variables?in PHP right?

I am using session variables, it is working on local but I run on server, it is not running. I am using Jquery

Where are you running PHP and How? WAMP? LAMP? MAMP?

Just a thought, make sure you are running session_start(); before any text output to the screen. eg:

$_SESSION['test'] = "this text will be lost";
session_start();
$_SESSION['test2'] = "this text will be saved";
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.