Page 1 of 1

sessions i hope

Posted: Sun May 08, 2005 11:21 pm
by nikhil.deshmukh
hello guys i am new to php ..



i just want to know suppose i have index.php page...

after user puts username and password it will go to login.php and it will redirect to index.php again saying wellcome user !


i know it can be done with sessions ...

but if i start a session on index its giving me error variable undefine


can any one tell me how will i do it .. its the same case like devnetwork homepage is ...

Posted: Mon May 09, 2005 1:31 am
by SBro
Post some of your code before we can help you anymore. Have you used session_start() at the top of your page ?