Reply to Re: why are session only working with cookies?

Your name:

Reply:


Posted by Jason Barnett on 05/14/05 00:51

Brian V Bonini wrote:
> Everything in php.ini seems to be correct. Is there soem thign I'm
> supposed to pass to 'configure' at compile time?

Session support is now built-in by default, so unless you specifically
compile without it then you should have support for sessions in your
build. Although yes, there are several php.ini settings that can modify
cookie behavior:

<?php

/**
http://php.net/manual/en/ref.session.php#ini.session.use-only-cookies

Don't force PHP to only use cookie propagation for session
*/
ini_set('session.use_only_cookies', 0);

/**
http://php.net/manual/en/ref.session.php#ini.session.use-trans-sid

Optional, may not even work for your version of PHP
*/
ini_set('session.use_trans_sid', 1);


?>

[Back to original 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

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