R: [PHP] Problem with Frames and Sessions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx

________________________________

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@xxxxxxxxxxx] 
Inviato: martedì 29 novembre 2005 0.53
A: php-general@xxxxxxxxxxxxx
Oggetto:  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: smime.p7s
Description: S/MIME cryptographic signature


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux