Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Cookie Domain

by httptech (Chaplain)
on Jun 20, 2000 at 05:25 UTC ( [id://18925]=note: print w/replies, xml ) Need Help??


in reply to Cookie Domain

Well, I can think of one kludgy way it could be done theoretically... Say on mysite.com you have a page with an image loaded from myothersite.com. Only the image coming from myothersite.com is actually a CGI script that reads the cookie for myothersite.com, and with some clever backend communication, sends the cookie data to mysite.com. Of course, this wouldn't work if the person enabled the "Accept only cookies that get sent back to the originating server" option in Netscape. So considering it may not be very reliable to do it this way, I would just find a non-cookie solution for whatever you are doing.

Replies are listed 'Best First'.
RE: Re: Cookie Domain
by JanneVee (Friar) on Jun 20, 2000 at 13:44 UTC
    How about using a session id in the get string. The two server needs just share the session id afterwards.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://18925]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-06-17 16:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.