again session doubt
| From: | Balaji Ankem | Date: | Fri, 10 Aug 2001 08:47:32 +0000 |
| Subject: | again session doubt | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-62136@lists.php.net to get a copy of this message | ||
Hello! boss,
It started session.
But i didn't close the session.
I tried to login again. But it is giving authorization required.
It is not allowing for loggin in again because of session.
What i have to do.
Thanks and regards
-Balu
----- Original Message -----
From: Yamin Prabudy
To: Balaji Ankem
Sent: Friday, August 10, 2001 12:38 PM
Subject: Re: Help required on creating session
say you have a form that input the username in the top of the file before the <html> just
put the
<?
session_start();
session_register(username);
?>
that's goes the first page...
in the next page you can do this
<? session_start();
echo $username; ?>
you must have you username display there
----- Original Message -----
From: Balaji Ankem
To: Yamin Prabudy
Cc: php-general@lists.php.net
Sent: Friday, August 10, 2001 1:16 PM
Subject: Help required on creating session
Hi! friends,
i also want this feature.
Can u tell me how to start a session whenever the user logged in and how to end session after
logout.
where i have to give these function names...
session_start();
session_register(username);
Thanks in advance.
Regards
-Balaji
----- Original Message -----
From: Yamin Prabudy
To: php-general@lists.php.net
Sent: Friday, August 10, 2001 10:02 AM
Subject: [PHP] HELP...session
Hi there I need help about session
see i have a page (index.php) that used this
session_start();
session_register(username);
and i got input username
after the submit button is click i move into a frame pages......
then in the frame i define again
session_start();
for each frame...i got two frame......
i intended to parse the username into my frame...but got nothing
i intended to parse the username all over the pages (in frame) until he/she log out
can anyone help me with it
Thanks in Advance
Yamin Prabudy
----------------------------------------------------------------------------------------------------------------------- Information transmitted by this E-MAIL is proprietary to Wipro Limited and is intended for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please notify us immediately at mailto:mailadmin@wipro.com and delete this mail from your records. ------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------- Information transmitted by this E-MAIL is proprietary to Wipro Limited and is intended for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please notify us immediately at mailto:mailadmin@wipro.com and delete this mail from your records. ------------------------------------------------------------------------------------------------------------------------