|
|
Posted by JDS on 05/21/07 21:43
On Tue, 15 May 2007 10:16:35 -0700, shimmyshack wrote:
>
> in the traditional model of client<->server1.com<->server2.com the
> credentials (if stored as cookies) will only be valid for domain
> server1.com, so you cannot hand off the credentials to the client
Okay, so, I think I have my original answer: "NO"
That's okay. I found an acceptable workaround. Note: This workaround may
not be acceptable to everyone as it uses JavaScript and depends on client
side behavior!
Solution:
1) Create PHP script that gathers creds and maps them to the proper
username/password.
2) Embed an HTML form that mimics the POST form I need to circumvent
3) Use the onload() and submit() events to submit creds via POST method
This works! Yay!
--
JDS | jeffrey@example.invalid
| http://www.newtnotes.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/
Navigation:
[Reply to this message]
|