Page 1 of 1

Error: Undefined session variable

Posted: Tue Aug 03, 2010 11:59 pm
by krsm1980
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

Re: Error: Undefined session variable

Posted: Wed Aug 04, 2010 3:23 am
by JakeJ
Without seeing some code, there's absolutely NO way anyone can help you.

Imagine the following scenario:

I call my mechanic on the phone....
:lol:
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.
:lol:

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.