--- Paul Higgins <[EMAIL PROTECTED]> wrote: > Miva uses cookies, which is fine. However, the Miva pages would be > accessed by my PHP pages on the website. Therefore, the cookies have > nowhere to go.
You can set cookies on the client with the Set-Cookie header or with the setcookie() function. > They are not placed on my client, because in this case my web server > is the client. Your Web server is acting as both a client and server. You can pass along any cookies you want. > Can I trick the Miva pages to believe that I am in fact accessing a > cookie? By possibly using headers? I assume that accessing == sending. If so, then yes, you can do this, too, but I'd need to know how you are sending the requests to Miva. If you're making the connection and sending the requests yourself, you can send a cookie by including this header: Cookie: foo=bar Hope that helps. Chris ===== Chris Shiflett - http://shiflett.org/ PHP Security - O'Reilly Coming mid-2004 HTTP Developer's Handbook - Sams http://httphandbook.org/ PHP Community Site http://phpcommunity.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php