[snip] I got this value in next page(main.php) But from there I am not able to pass it to next page I used session_register('uid'); in main.php but in next page $uid is returning null [/snip]
First, look at the manual for sessions. You have posted many questions where the manual would have provided you a solution. Are you placing session_start() at the top of each page where you expect session variables to be available? You should be... Have a pleasant day. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php