i8badhaggis Posted January 19, 2010 Share Posted January 19, 2010 so I have the following .htaccess file RewriteEngine on Options All -Indexes RewriteCond %{HTTP_HOST} ^growandcreate\.com$ RewriteRule ^(.*)$ http://www.growandcreate.com/$0 [R=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !^caller.php$ RewriteCond %{REQUEST_FILENAME} !^page-machine.php$ RewriteRule ^(.*)$ caller.php [L] I have a file called session_destroy.php that I call that does as it says. I have another that is session_display.php that does as it says. they have the following code <?php session_start(); var_dump($_SESSION); ?> <?php session_start(); $_SESSION = array(); $_SESSION['initiated'] = true; var_dump($_SESSION); echo "Session destroyed"; ?> I call the session_destroy directly and I call the session_display directly right afterwards. the file caller.php somehow gets called somewhere in there because it puts other variables into the session variable. placing a var_dump in caller does not show anything either any ideas? Link to comment https://forums.phpfreaks.com/topic/189065-htaccess-issues/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.