[PHP] Session Tracking Problem

2001-07-28 Thread Khuram Latif

Hi All,
I have a problem in session tracking,

After checking User name and password from database, I register a
session as

session_register(User_name);

For next page authentication, at the top of every page i check

if ($HTTP_SESSION_VARS[User_name] != )
{
// Display Page Contents
}
else
{
echo Invalid User;
}

$HTTP_SESSION_VARS[User_name] is returning empty value in most of the
location especially at Middle East after even registering the session
values.

Please fix the problem.

Regards,
khuram latif


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Session Tracking Problem

2001-07-28 Thread Richard Baskett

You need to make sure you do a session_start at the beginning of each page
example:

First Page:
?
   session_name(login);
   session_start();
   session_register(Email);
   session_register(Password);
?
HTML

Other Pages:
?
   session_name(login);
   session_start();
?
HTML

 Hi All,
 I have a problem in session tracking,
 
 After checking User name and password from database, I register a
 session as
 
 session_register(User_name);
 
 For next page authentication, at the top of every page i check
 
 if ($HTTP_SESSION_VARS[User_name] != )
 {
 // Display Page Contents
 }
 else
 {
 echo Invalid User;
 }
 
 $HTTP_SESSION_VARS[User_name] is returning empty value in most of the
 location especially at Middle East after even registering the session
 values.
 
 Please fix the problem.
 
 Regards,
 khuram latif
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] session tracking problem

2001-07-27 Thread Khuram Latif

Hi Sir,
I have a problem in session tracking,

After checking User name and password from database, I register a

session as

session_register(User_name);

For next page authentication, at the top of every page i check

if ($HTTP_SESSION_VARS[User_name] != )
{
// Display Page Contents
}
else
{
echo Invalid User;
}

This code run fine in different location but not any where,
Please fix the problem.

Regards,
khuram latif


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]