Is it possible to read the data in the php $_SESSION array in the .htaccess file in Apache? So say I have the following:
$_SESSION['foo'] = 'bar';
could I then in .htaccess do something like:
RewriteRule bla.png folder/{the php session var foo}/file.png
Is that possible?
I already have a working workaround but if this is possible it would be way nicer.