Search code examples
phpapachesessionmultiserver

How to manage a single PHP5 session on multiple apache servers?


Hi I have to retrieve data from several web servers. First I login as a user to my web site. After successfull login I have to fetch data from different web servers and display. How can I share a single session with multiple servers. How can I achieve this?

When I first login it create session and session id saved on temp folder of that server. When I try to access another server how can I use current session that already created when I logged in. Can anybody suggest a solution?


Solution

  • You'll have to use another session handler.

    You can: