Reading cooke data on a RPC Server.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
trvarma
Forum Newbie
Posts: 1
Joined: Fri Jun 24, 2005 12:16 pm

Reading cooke data on a RPC Server.

Post by trvarma »

Hi All,

My problem is like this.,
I have 2 sites, lets call it 'MASTER', 'SLAVE'

When a user visits 'SLAVE' site, the 'MASTER' will set a cookie.
and upon navigation, the 'SLAVE' will call a XML RPC of the MASTER to do information transaction.
now my problem is the 'MASTER' RPC server must me able to get the previously stored cookie data on the SLAVE site.

how is this possible ?
Iam using The Incutio XML-RPC Library for PHP library for my app.
Any help on this issue is much appriciated.


Thanks in Advance.
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

Assuming that MASTER tells SLAVE what the contents of the cookie are, the SLAVE should simply pass the $_COOKIE value that it gets automatically when a page is requested.
Post Reply