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

Posted by CountDraculla on 11/01/88 11:27

Create the session variable in index page first(not in framed page)
cause that will not affect ur framed page and help to persist the
session_id. Then pass it to your frame page using session_id()
function.

for example, your frame page url will be

<frame src=your_page_url?PHPSESSID=<?=session_id();?>

This will solve your problem.

NB: It may not be PHPSESSID in some cases, depending upon ur php.ini
setting.

--Hasin
http://hasin.phpxperts.com

 

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

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