accessing php session from a command line java program -


I am preparing an enterprise security server for our company - we own many different applications, most are Java And some have been written in PHP. I can provide a remote API that will give each application access to the server. I can also create 'agent' which can be included in each application which will do all the work for them, but allow their servers to control their sessions and thus their certification / authority. The problem is that it would be better to write the agent in Java because 80% or more apps are in Java.

If I have written an agent in Java then does anyone know whether there was a program that did this program Could reach php session? If anybody does not get any suggestions in better way to go about this?

Session data stored as a serial array (php) in a temporary folder. The locations for these are set in the php.ini file.

But you can write both the format of the data and the location (for example database or shared memory or elsewhere) your own handler.

A quick Google suggestion that many people have written data to PHP [D] serializers for PHP data such as

if you have problems with the built-in PHP serialization function - WDDX Is a Google (which comes as an IIRC standard) and serializes data in XML.

You might think, if you want to be active on PHP to keep data active from session sessions, then you want to continue the agent independently from the web session.

c.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -