Hello,
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_l imiter 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
after session_start.
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
afterwards.
If this is not possible, would it be possible to import a modified
session_start method via auto_prepend_fi le which does these things -
how can i reference the 'original' session_start method in this case?
cu
/gst
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_l imiter 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
after session_start.
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
afterwards.
If this is not possible, would it be possible to import a modified
session_start method via auto_prepend_fi le which does these things -
how can i reference the 'original' session_start method in this case?
cu
/gst
Comment