hello roopa! i are you an indian? I am.
you need to do the following,
1. start a session
2. register the variables you want to use
example:
session_start();
if (!$PHPSESSID)
{
session_register('id'); // any var
}
else if(!$id_self)
session_register('id');
- in the page where the login and password is posted to, assign values to the variables.
Ideally you would also like to authenticate and if all is ok you must assign value to the session var else redirect to login again.
hope this helps!