Re: url of caller?

2005-03-23 Thread QM
On Wed, Mar 23, 2005 at 07:56:01AM -, Pawson, David wrote: : for this use, internal to my organisation, Norton isn't installed : luckily! : : Another Gotcha worth noting though, thanks Mark. This may have been mentioned already, but some browsers can be configured to not provide referrer

Re: url of caller?

2005-03-22 Thread PA
On Mar 22, 2005, at 15:13, Pawson, David wrote: public java.lang.String getRequestURI() is the 'current' page, I need the calling page. http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.36 Cheers -- PA, Onnay Equitursay http://alt.textdrive.com/

Re: url of caller?

2005-03-22 Thread Mike Fowler
DaveP, You could use the 'referer' header, eg. String referedURL = request.getHeader(referer); Note that the String is null if the header isn't present which usually indicates that the user typed the URL in their browser. Hope this helps! -- Mike Fowler Registered Linux user: 379787 I could be a

RE: url of caller?

2005-03-22 Thread Pawson, David
-Original Message- From: Mike Fowler You could use the 'referer' header, eg. String referedURL = request.getHeader(referer); Note that the String is null if the header isn't present which usually indicates that the user typed the URL in their

RE: url of caller?

2005-03-22 Thread Peter Crowther
From: Pawson, David [mailto:[EMAIL PROTECTED] From: Mike Fowler Note that the String is null if the header isn't present which usually indicates that the user typed the URL in their browser. The caveat is worth noting! If a user does that, they deserve to be

RE: url of caller?

2005-03-22 Thread Mark Benussi
Worth mentioning this as I have been down this path. Symantec Intenet Security products and the like, will remove this header. I actually contemplated writing to Symantec about this only this morning (I think I have too much time on my hands).

RE: url of caller?

2005-03-22 Thread Pawson, David
-Original Message- From: Mark Benussi Worth mentioning this as I have been down this path. Symantec Intenet Security products and the like, will remove this header. for this use, internal to my organisation, Norton isn't installed luckily!