Error: Undefined session variable

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
krsm1980
Forum Commoner
Posts: 25
Joined: Sat Jan 09, 2010 12:33 am
Location: IN
Contact:

Error: Undefined session variable

Post 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
JakeJ
Forum Regular
Posts: 675
Joined: Thu Dec 10, 2009 6:27 pm

Re: Error: Undefined session variable

Post 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.
Post Reply