>Is there a way that I can tell what URL a web service thinks I am
coming from from on my PC?  

OK, it might be badly phrased. :) What do you mean?

In general web services are consumed (called) by functions on a web
server. That is, in a servelet (or jsp, asp, php, etc.) webSERVER1 would
call a web service hosted on webSERVER2 and then use that data to send
something back to webCLIENT1. 

If this is what you mean, just send the name of the page you're
processing.

OR... 

Are you talking about something like Ajax where the browser is actually
consuming a web service? And if so, are you saying your web service
needs to know whether it's being consumed by a browser that's looking at
Page1 or a browser that's looking at Page2. If this is what you mean,
you could simply send the page name as a parm on the request. HOWEVER,
if you're doing it to provide different functionality to page1 and
page2, fine[1]. But if you're doing it to make sure that the service is
only consumed by pages you serve, and not by pages someone else serves,
no such luck. It's just too easy to spoof.

-Walden

[1] Well, not fine, those should be 2 different pages, but it's "fine"
from a security point of view.

------------
Walden H Leverich III
Tech Software
(516) 627-3800 x3051
WaldenL@xxxxxxxxxxxxxxx
http://www.TechSoftInc.com

Quiquid latine dictum sit altum viditur.
(Whatever is said in Latin seems profound.)


-----Original Message-----
From: pctech-bounces@xxxxxxxxxxxx [mailto:pctech-bounces@xxxxxxxxxxxx]
On Behalf Of Shannon ODonnell
Sent: Monday, February 13, 2006 7:56 PM
To: 'PC Technical Discussion for iSeries Users'
Subject: Re: [PCTECH] Posting to a page with JavaScript

This is probably badly phrased, but...

Is there a way that I can tell what URL a web service thinks I am coming
from from on my PC?  I'm trying to interface with a web service and it
appears to me that it thinks the request is coming from something like
www.me.com (example) when in fact it should be coming from www.them.com
(example).  

Is there some way I can see what URL my TCP/IP connection request
appears as on the web?  

Something like TRACERT or NETSTAT or an equivalent? 

Thanks


--
This is the PC Technical Discussion for iSeries Users (PcTech) mailing
list To post a message email: PcTech@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/pctech
or email: PcTech-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/pctech.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.