A
Alex
Hi!!
i have a major problem, and i've been searching for a solution for
about 2 weeks, but havent found one.
i have to do a POST-Request to a server, but the server shouldnt know
my referrer. i know it would be quite easy to accomplish this with a
simple php-Script, but the problem is that i need the browser (client)
to do this POST, so that the answer comes directly back to the client,
and not first to the php-server and then to the browser.
why that? because the page i get back requests the cookie (with
document.cookie), and therefore the page has to come directly from
server.
i tried the xmlhttpconnection object to connect to the server and
manipulate the header, to send the request without a referrer, but the
answer isnt directly shown in the browser, but has to be requested from
the xmlhttpconnection, so therefore access to the cookie isnt possible.
i just need to make the browser to send the POST-Request without the
referrer, and get the answer directly back from the server, so that the
browser can access document.cookie.
another important thing is that i dont want to change the browser
settings!!!!!!
i know that you can send get-requests without referrer by using
document.location=....., but how can you do it with forms that use
post????
please help me!!!!!!
thanks Alex, if you have any further questions, please dont mind to
post them, thanks
i have a major problem, and i've been searching for a solution for
about 2 weeks, but havent found one.
i have to do a POST-Request to a server, but the server shouldnt know
my referrer. i know it would be quite easy to accomplish this with a
simple php-Script, but the problem is that i need the browser (client)
to do this POST, so that the answer comes directly back to the client,
and not first to the php-server and then to the browser.
why that? because the page i get back requests the cookie (with
document.cookie), and therefore the page has to come directly from
server.
i tried the xmlhttpconnection object to connect to the server and
manipulate the header, to send the request without a referrer, but the
answer isnt directly shown in the browser, but has to be requested from
the xmlhttpconnection, so therefore access to the cookie isnt possible.
i just need to make the browser to send the POST-Request without the
referrer, and get the answer directly back from the server, so that the
browser can access document.cookie.
another important thing is that i dont want to change the browser
settings!!!!!!
i know that you can send get-requests without referrer by using
document.location=....., but how can you do it with forms that use
post????
please help me!!!!!!
thanks Alex, if you have any further questions, please dont mind to
post them, thanks