You are here: Managing sessions... « PHP « IT news, forums, messages
Managing sessions...

Posted by David BERCOT on 01/20/06 18:53

Hi again,

Ok, it's probably not the first time you have a question about sessions
with PHP ;-)
I've tried to read mails, documentation, searching on Internet but,
finally, I think everything is not clear !!!

First of all, I understand that, if session.auto_start is not on '1', I
have to write session_start on each page I use !!! OK.
Before this line, I put options :
ini_set("session.use_only_cookies",1);
ini_set("session.use_trans_sid",0);
ini_set("error_reporting",E_ALL);
and then :
session_start();

I think it is very heavy to write... I read about
ini_set("session.auto_start",1) but, on my server (Debian), it doesn't
seem working...
And I also read about options which can be not set if I use
auto_start...

So, I'd like to put my options (use_trans_sid, 0, etc...) and to have
lite scripts. Is it possible ?
Isn't there, like in asp, a global.asa where I can put all my
parameters ?

Thank you very much.

David.

 

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

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