NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHP-Apache 2.0.48 Session

Tim Gales tgales at tgaconnect.com
Mon Aug 9 11:28:24 EDT 2004


 Kshitij Bedi writes:

> For some reason the session in my PHP app dies when I open a 
> page in a new window using (JavaScript: window.open()). 
> Server Config: Windows 2k; Apache 2.0.48;PHP 4.3.4; MySql 4.0.18;
> 
> This same app works fine on my development environment: 
> Windows 2K; IIS 5.0; PHP 4.3.7; Mysql 4.0.18;
> 
> In ideas why?

what is your 'session.save_path'

in the default ini (php.ini-dist)
it is usually blank -- like so:

[Session]
; Handler used to store/retrieve data.
session.save_handler = files

Maybe adding something like:
session.save_path="C:\tmp"

will help

(watch the permissions on the actual directory you use!!!)

T. Gales & Associates
'Helping People Connect with Technology'

http://www.tgaconnect.com




More information about the talk mailing list