You are here: Re: frames, session variables, and refresh « PHP Programming Language « IT news, forums, messages
Re: frames, session variables, and refresh

Posted by Jimmy Reds on 11/24/51 11:27

lost hope wrote:
> hey all,
> my index.html file has 2 frames. one of the frames (left.php) sets a
> php session variable (using a form). this works as expected. however,
> when the user hits refresh on index.html, that session variable is
> lost, even though the session id itself remains the exact same. is
> this the expected behavior? if possible, how can i ensure the session
> variable persists across the page refresh? thanks!
> -henry

Hi,

It may be that your PHP session id needs to be passed from the left
hand frame to the main frame and maybe the frameset itself.

I had a similar thing happen on my college project a year or so ago but
my memory is a bit hazy so please forgive me if I'm wrong on this.

Kind regards,

Jimmy.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация