Page 1 of 1

need help

Posted: Fri Dec 01, 2006 12:48 am
by Ind007
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

Posted: Fri Dec 01, 2006 12:52 am
by feyd
session wasn't passed, session wasn't started, misspelled variable... the list goes on...

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.

Posted: Fri Dec 01, 2006 1:23 am
by Ind007
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.

Posted: Fri Dec 01, 2006 1:51 am
by Zoxive
You still need to show your code.. there has to be some error somewhere, yes even user error.

Posted: Fri Dec 01, 2006 8:41 am
by Ind007
finally i got it

i made small mistake...

session.save_path="e:/temp"

session.cookie_path=\

now i changed it to

session.cookie_path=/