I don't think this will work. Aren't cookies only supposed to be sent
back to the host that sent them? Or can it be as broad as "the domain
that sent them"?
What I would do, and am doing with two servers here is populate the
database on the second machine with session data about the user who's
just after logging in. Instead of using cookies the URL has the session
ID for that user bolted on to the "continue" link (your "check my mail"
link I suppose) The second box (the one running IMP) can then generate
the cookie for IMP.
Hmm.. forget the above (I'm leaving it in because I think it's useful :)
I re-read your mail.
It could be as simple as IMP expected a different submit method? When
you login do you use the post or get method?
If you can, run phpinfo() in mailbox.php3 and/or just print out the
contents of $form_data to see what's happening!
"John P. Looney (Kate)" wrote:
>> I've been trying to work out how to get an AOLserver machine to post IMP
> authentication data, and then write out all the cookie info IMP sends back
> to the client browsers. What I'm doing is (bear with me on the TCL, but you
> get the idea):
>> set form_data [ ns_set create form_data ]
> ns_set put $form_data actionID 6
> ns_set put $form_data imapuser jplooney
> ns_set put $form_data pass secret
> ns_set put $form_data mailbox INBOX
> ns_set put $form_data server mail1.mail.online.ie
> ns_set put $form_data folders INBOX.
> ns_set put $form_data port 143
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!