Re: PEAR Auth package woes [message #178392 is a reply to message #178391] |
Tue, 12 June 2012 20:20 |
The Natural Philosoph
Messages: 993 Registered: September 2010
Karma:
|
Senior Member |
|
|
Eli the Bearded wrote:
> In comp.lang.php, The Natural Philosopher <tnp(at)invalid(dot)invalid> wrote:
>> Eli the Bearded wrote:
>>> Is there a way to get the Auth package to accept it's own cookies
>>> that just happen to have been set on a different server? If so, how?
>> I think at this point I would scrap sessions/specialised package code
>> and set a custom cookie and store it in a database common to or
>> propagated across all the servers.
>
> I know how to do this, without even incuring a database hit on
> the other servers. I have used cookies with encrypted content for
> this purpose before. I'm not looking to reinvent the wheel, just
> trying to get this package to work for me.
>
> Elijah
> ------
> library code is supposed to make life easier
Indeed.
But when it doesn't - and in my case its usually after three aborted
attempts to make it work, I simply write my own.
I've spent more time replying to you than I did coding my solution some
months ago.
OTOH I do accept getting it debugged took a bit longer.
--
To people who know nothing, anything is possible.
To people who know too much, it is a sad fact
that they know how little is really possible -
and how hard it is to achieve it.
|
|
|