jcupp has asked for the wisdom of the Perl Monks concerning the following question:
Using Apache session IDs as the 2nd parameter (1st is package name) for the methods, I can make them 'instances' over the network. But I don't need the session ID when called locally.
Also, my packages available via RPC have a superclass that handles all the session restoring/saving, error handling, authentication, common RPCish methods. But, I don't need locally used (or derived) packages to have this derivation.
Is there a compiling directive that would be able to tell what was calling a package: RPC or locally (forcing mod_perl to recomile)? Is there a better model out there to follow? Each of my methods will have to have logic to dermine if it's called 'static', 'instance', then 'static-rpc', 'instance-rpc'... uuf!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XMLRPC Object Model?
by perrin (Chancellor) on Mar 29, 2002 at 05:54 UTC | |
by jcupp (Acolyte) on Mar 30, 2002 at 07:35 UTC |