Hello forum,
I am trying to run my live page on WAMP server which include session variable but it is giving a Error:undefined _SESSION variable,Kindly give me a solution
Regards
Error: Undefined session variable
Moderator: General Moderators
Re: Error: Undefined session variable
Without seeing some code, there's absolutely NO way anyone can help you.
Imagine the following scenario:
I call my mechanic on the phone....
Mech: Hello?
Me: Hi, I need your help, there's something wrong with my car.
Mech: What seems to be the problem?
Me: I don't know, you're the mechanic.
Mech: Could you describe what is happening?
Me: The car is making a noise. Can you tell me what's causing it?
Mech: What sort of noise?
Me: A loud one, can you fix it?
Mech: Where is the sound coming from?
Me: *SIGH* FROM THE CAR! Why else would I be calling you? Can you fix it or not?
Mech: Ohhh, well, why didn't you just say so?! Your alternator belt needs to be replaced and you need a tune up too. And I'm pretty sure that your muffler is about shot.
The upshot is, without looking under the hood, and seeing for ourselves what the problem is, there's nothing we can do for you anymore then telling a mechanic can tell you what's wrong with your car by telling him it's making a noise.
Imagine the following scenario:
I call my mechanic on the phone....
Mech: Hello?
Me: Hi, I need your help, there's something wrong with my car.
Mech: What seems to be the problem?
Me: I don't know, you're the mechanic.
Mech: Could you describe what is happening?
Me: The car is making a noise. Can you tell me what's causing it?
Mech: What sort of noise?
Me: A loud one, can you fix it?
Mech: Where is the sound coming from?
Me: *SIGH* FROM THE CAR! Why else would I be calling you? Can you fix it or not?
Mech: Ohhh, well, why didn't you just say so?! Your alternator belt needs to be replaced and you need a tune up too. And I'm pretty sure that your muffler is about shot.
The upshot is, without looking under the hood, and seeing for ourselves what the problem is, there's nothing we can do for you anymore then telling a mechanic can tell you what's wrong with your car by telling him it's making a noise.