You are here: Re: session-based authentication code not working on shared host « PHP Programming Language « IT news, forums, messages
Re: session-based authentication code not working on shared host

Posted by Jerry Stuckle on 07/28/06 12:17

awebguynow wrote:
> I'm making note of your comments, Rik
>
> and also noticing some of the PHP user notes:
>
> session_save_path() required on every page that saves or accesses a
> var.
>

Only if you use session_save_path() on any page. If php is configured
correctly it is not needed.

> also security concerns, by webmaster at gardenchemicals
>

I saw that also and completely dismissed it for too many reasons to go
into here.

Remember - user notes are exactly that - USER NOTES. They do not
indicate the expertise level of whomever is posting the notes. And they
may or may not be accurate.

> It looks like path should be FQ path from root of machine.
> I'll check on write permissions and best place to store sessions.
> Cookie path, I assume would be relative to htdocs/
>
> session.cookie_path / /
> session.save_path /var/php_sessions /var/php_sessions
>

Best place for session data IMHO is /tmp. But others have different
opinions, also.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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