You are here: Re: problem with session variables « PHP Programming Language « IT news, forums, messages
Re: problem with session variables

Posted by iulian.ilea on 10/09/06 19:27

If you use PHP on Windows you have to define session.save_path in case
you use sessions stored as files. Check this:
http://ro2.php.net/manual/en/function.session-save-path.php

Let me know it this was the problem.

Garry Jones wrote:
> Elsewhere on a form page I am declaring a variable
>
> *******************************
> session_start();
> $_SESSION['testvar'] = "sometext";
>
> At the top of the page that will process the form code I have this line.
>
> session_start();
> $testppp=$_SESSION['testvar'];
>
> echo $testppp;
>
> *******************************
>
> But nothing is echoed. What am I missing?
>
>
> Garry Jones
> Sweden

 

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

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