Environment variables in all_pre.sh

inspectorowl

New member
Joined
Jul 3, 2013
Messages
2
Hello, I am the PHP programmer and I have to write some filter/log script based on SESSION_ID variable/cookie. The script must be able to cancel request so my idea is to utilize all_pre.sh. Unfortunately in the all_pre script there is no access to the environment variables (COOKIE, SESSION) beacause the script is running in something like shell, not HTTP server environment. On the other hand the similar all_post script has access to these variables but cannot cancel the request.
Do you have any idea?
 
(cannot edit post) The most important for me is to read the session_id variable and be able to cancel the request.
 
Back
Top