Jump to content

htaccess issues


i8badhaggis

Recommended Posts

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?  :wtf:

Link to comment
https://forums.phpfreaks.com/topic/189065-htaccess-issues/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.