var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
PHP / Apache / ForceType / Sessions
I have a forcetype directive in an .htaccess file thus:
This works great, runs a file "foo" as php and parses out the arguments after the trailing slash with no problem (i.e. domain.com/foo/123).
"foo" creates a session and includes another php file "bar.php".
Here's the odd stuff:
- When bar.php displays as the included file from being included by foo, the session exists (it shouldn't presumably - until the file is refreshed, which it hasn't been...)
- bar.php has a form which it submits, now directly to itself, bar.php; one would expect the session to still be available - unfortunately, it isn't though...
Is there something I'm not understanding about the effect of forcetype ?