Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Guenther Starnberger
August 22, 2004, 7:04 pm
rate this thread
Is there a possibility to 'override' a method e.g. in the php.ini?
The reason I want to do this is, that depending on the value of
session.cache_limiter specific HTTP headers ("Cache-control") are sent
when calls to session_start are made. Because of some browser bugs we
need to modify these headers before they are sent to the browser. This
would be possibily with a simple 'header' call if this call is made
The problem now is that we run numerous 3rd party scripts which we
don't want to modify - an ideal solution would be if it was possible to
override session_start, so that our implementation of session_start
calls the original session_start function and sets the headers
If this is not possible, would it be possible to import a modified
session_start method via auto_prepend_file which does these things -
how can i reference the 'original' session_start method in this case?