Re: [SOAP] soap referer problem

[email protected] ("Mark Mitchenall")
Newsgroups php.soap
Message-ID <[email protected]>
> client will send soap request to my wsdl file.
>
> with that file iam getting remote addr..
>
> how to get http-referer..
> pla give me aany suggestions..

The HTTP referrer is sent by a web-browser when the user follows a
link, or an image is loaded via a particular page, but if you're
building your own requests, you need to pass it yourself.  Chances
are, the header is not present in the HTTP request, and therefore,
you're not getting it on the server-side.

I can't think of any reason why a SOAP client would ever send an HTTP
referrer.  This header only really has any meaning in a web-browsing
situation.  You should work out a better security mechanism I reckon.

HTH
Mark
-- 
Mark Mitchenall, Standingwave Ltd
(Complete Hosting and Development Services)

Tel/Fax :=  +44 (0)845 638 1466
Email   :=  [email protected]                   [email protected]
Home    :=  http://www.standingwave.co.uk       http://www.mitchenall.com

        To see what I'm cooking, visit http://www.icookfood.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.