You are here: Re: Session Rewrite Problem « All PHP « IT news, forums, messages
Re: Session Rewrite Problem

Posted by ninja on 10/11/34 11:54

Hello,

> Can you please tell me where the /var/lib/php/session should me at. I
> don't see it on my server using my FTP account. If it's not there
> should I create it? And if so what file should go in there?

You can't (and shouldn't) access /var/lib/php/session directory with
your ftp account, which is normal and very desirable. That is why you
really should, as Erwin pointed out, contact your ISP about your
problem. Chances are that what you have here is a wrong set of
permissions - php must be able to read and write in that directory
(that is, the user that runs php).

> Also,
> When I run the session test it shows the following:
> $_SESSION['test'] is set to: FALSE
> However, when run on a different host is says TRUE.
> Do you know how to change it?
> PHP.INI or what? I looked in there but couldn't find it.

Since php can't write to the sessions directory, sessions basically
don't work. Hence, all your session tests are bound to fail.

Vladislav

 

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

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