Re: What is the purpose of sessions extension?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



GamblerZG wrote:
What is the purpose of sessions extension?

The reason I ask is because learning to deal with all its functions, ini
options and quirks took me _much_ more time than writing pure-php
replacement. (That is, without using  session_set_save_handler().)

I realise that yours might be a special case, but for most situations I have only had to do session_start() and then simply used $_SESSION as if it were any other array with the simple difference that it persists across requests. When done with the session, use session_destroy() if you feel the need.

I'm not sure how that could be harder than writing a pure-PHP replacement for the session extension...

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux