R: [PHP] Problem with Frames and Sessions
| From: | Sebastian \"En3pY\" Zdrojewski | Date: | Tue, 29 Nov 2005 07:04:00 +0000 |
| Subject: | R: [PHP] Problem with Frames and Sessions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-226575@lists.php.net to get a copy of this message | ||
Change the logon script. The cookies of each frame are loaded separately, so
if you want the session to be active in all the frames, at least once you
got to reload them. The easiest way, I think, is to change the logon script:
put it on a main page and once the user is logged in, create the frameset.
The session will be available in all the frames.
Cheers,
En3pY
Sebastian Konstanty Zdrojewski
________________________________
URL: http://www.en3py.net/
E-Mail: en3py@itvc.net
________________________________
Le informazioni contenute in questo messaggio sono riservate e
confidenziali. Il loro utilizzo è consentito esclusivamente al destinatario
del messaggio, per le finalità indicate nel messaggio stesso. Qualora Lei
non fosse la persona a cui il presente messaggio è destinato, La invito ad
eliminarlo dal Suo Sistema ed a distruggere le varie copie o stampe, dandone
gentilmente comunicazione. Ogni utilizzo improprio è contrario ai principi
del D.lgs 196/03 e alla legislazione Europea (Direttiva 2002/58/CE).
-----Messaggio originale-----
Da: Shaun [mailto:shaunthornburgh@hotmail.com]
Inviato: martedì 29 novembre 2005 0.53
A: php-general@lists.php.net
Oggetto: [PHP] Problem with Frames and Sessions
Hi,
I have a frameset with a left column and a main column. I have a login
script with a form in the left column. When I log in I get a menu in the
left column which targets to the main column. My problem is that when I
click on links in the left column nothing appears in the main frame, however
if I refresh the browser then the links work. I am sure this must be a PHP
session problem but I don't have any experience using frames, does anyone
have suggestions as to what the problem might be?
Thanks for your advice.
--
PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.8/184 - Release Date: 27/11/2005
Attachment: [application/x-pkcs7-signature] smime.p7s
Attachment: [application/x-pkcs7-signature] smime.p7s