You are here: Setting my own session handler.. « PHP Programming Language « IT news, forums, messages
Setting my own session handler..

Posted by PaowZ on 06/18/07 19:06

Hello There!

I'm trying to handle sessions using php5, but having some troubles to
design it..
Ok, I have to use "session_set_save_handler()" to override session
management but I don't really understand callback functions arguments.
According to doc (http://fr3.php.net/manual/fr/function.session-set-
save-handler.php french version),
open(), close() take not arg, read() takes $id, write() takes $id,
$sess_data and so on...
But too few doc about it.. a little may be found there:
http://shiflett.org/articles/storing-sessions-in-a-database

My question: do we have to take in account these args ? May I
implement my callback functions without supplying those arguments but
my own ones ? How have I to consider it ? :)


Any suggestions ?

Thanks a lot.

 

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

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