In one page
I have set $_SESSION['city_cd']='14'
and in another page
I have set $_SESSION['POSTED']['city_cd']='aalsmeter'
when I try to access $_SESSION['city_cd']
I get 'aalsmeter' instead of '14'
could you please tell me what might be the problem
SESSION problem[Solved]
Moderator: General Moderators
-
devendra-m
- Forum Contributor
- Posts: 111
- Joined: Wed Sep 12, 2007 3:16 am
SESSION problem[Solved]
Last edited by devendra-m on Sun Dec 16, 2007 3:44 am, edited 1 time in total.
Are sessions ever started?
session_start();
session_start();
-
devendra-m
- Forum Contributor
- Posts: 111
- Joined: Wed Sep 12, 2007 3:16 am