PHP Sessions – Mysterious Timeouts Explained

I recently found out something I think worth writing a couple of lines about. Have you ever tried to make a HTTP request from PHP to a second script and preserve the session and ending up with the request hanging? Let me give you an example. home.php: session_start(); … $url = “http://url/admin.php?PHPSESSID=”.session_id(); $fp = fopen($url, Continue reading