text: how could i write cookies in a frames enviornment? the problem occurs with iframes and framesets.? here is a situation: i have this client who frames us via iframe. the url works fine if you hit it directly from the browser, but when you add the url to the frame, it gives a javascript error. the error comes because the cookie is blocked and cannot be read. frames served from different hosts don't share cookies!  there are tricks to get them across! i've done it.