|
Posted by Jerry Stuckle on 07/30/06 14:56
axlq wrote:
>
> The real problem is that the web hosting server seems to think that
> every computer on my home network shares the same session ID, and I
> don't know what to do about it. I haven't made the web site public
> yet. I certainly can't do so as long as $_SESSION poses such a huge
> security risk. There are much more than just home networks behind
> NAT firewall/routers. If multiple people in a large organization
> try to access my site, all kinds of conflicts will occur.
>
> -A
The web server doesn't keep track of the session like that. It sends a
cookie to the browser with the session id, and the browser keeps track
of the id.
However, that also depends on your PHP.INI file. You should have
session.use_cookies = 1
in your php.ini file.
But I'm also not sure why you're using those other calls - such as
session_save_path and session_name(). These should be set up in your
php.ini file and you shouldn't need to override them.
I'm also not sure why you're using set_cookie on the session name.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|