sessions i hope

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
nikhil.deshmukh
Forum Newbie
Posts: 7
Joined: Sun May 08, 2005 11:13 pm

sessions i hope

Post 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 ...
SBro
Forum Commoner
Posts: 98
Joined: Tue Sep 30, 2003 10:06 pm

Post by SBro »

Post some of your code before we can help you anymore. Have you used session_start() at the top of your page ?
Post Reply