You are here: ini_set() « PHP « IT news, forums, messages
ini_set()

Posted by "Gustav Wiberg" on 09/13/05 22:11

Hi there!

I don't get it...


From the manual...

string ini_set ( string varname, string newvalue )

Sets the value of the given configuration option. Returns the old value on
success, FALSE on failure. The configuration option will keep this new value
during the script's execution, and will be restored at the script's ending.

Does this mean that:

File phpcode1.php handles cookies and has the code
ini_set('session.cookie_lifetime',2147483647); ini it.
File phpcode2.php has nothing to do with cookies

When user goes TO phpcode2.php FROM phpcode1.php, session.cookie_lifetime
would be zero and ended when browser is closed...?

/G
http://www.varupiraten.se/

 

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

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