session registered variables are not passing from one page to another page....
what is the possible reason....
I am using Apache 2.0.5 /PHP5 environment
need help
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
session wasn't passed, session wasn't started, misspelled variable... the list goes on...
post your code.
post your code.
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:2. Use descriptive subjects when you start a new thread. Vague titles such as "Help!", "Why?" are misleading and keep you from receiving an answer to your question.
I am using PHP expert editor...which is having syntax high lighiting, so there is no mis spelling...
and i used session_start(); in every page.
the registered variable is $_SESSION['user']="somevalue";
when i try to retrieve this variable value in another page it is showing nothing, i mean it is null.
I am sorry for my misleading subject in my first post....i am a newbie.
and i used session_start(); in every page.
the registered variable is $_SESSION['user']="somevalue";
when i try to retrieve this variable value in another page it is showing nothing, i mean it is null.
I am sorry for my misleading subject in my first post....i am a newbie.
Last edited by Ind007 on Fri Dec 01, 2006 2:00 am, edited 1 time in total.