softius / php-cross-domain-proxy

PHP Proxy for Cross Domain Requests
GNU General Public License v3.0
269 stars 141 forks source link

missing session #9

Closed davidmeirlevy closed 8 years ago

davidmeirlevy commented 9 years ago

the proxy doesn't pass the session (if exists), looks like for both ways. session_start() didn't make it work..

softius commented 8 years ago

This an old comment but I am replying anyway for future reference.

This wont work (using session_start) .

Sessions are usually identified by Cookies (PHPSESSID) . This is stored in $_SERVER['HTTP_COOKIE'] which is parsed and sent to remote URL as Cookie header.