My project hangs on this single issue.
I have this code in my htaccess to implement a flat url system
Options +FollowSymlinks
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/page.php
RewriteRule (.*) page.php?pid=$1 [QSA]
While this code exists I cannot access session variables created on one page on any other page. Even if the pages are static .php pages that do not go through the redirection the sessions disappear. ONly this code somehow prevents sessions.
I have set session cookie path and domain to make sure the realm is correct, but it does not work.
Any help will be appreciated from the bottom of my heart.
The funny thing is it only fails on Chrome.