Re: multiple sessions on same server/domain

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

 



Valter Toffolo wrote:
ok i have one server with a single domain, each user have it's home
with a public_html so i get mydomain.com/~user1/ and
mydomain.com/~user2/ and so on. but each user might like to use
sessions so how can i make it work so that sessions would have each
one it's own variables and all...??

thanks, valter.

What is the problem? If you have session support set in PHP then each user should be able to session_start etc. The default session handler that comes with PHP will allow each user to have their own session variables (technically they're indices in the $_SESSION superglobal array).


Please check the PHP manual to see how to set up session support if that's what you're confused about.

--
Teach a person to fish...

Ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html
PHP Manual: http://www.php.net/manual/en/index.php
php-general archives: http://marc.theaimsgroup.com/?l=php-general&w=2

--
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