Redirect and HTTP_REFERER cgi variable

Using a redirection, sometimes the HTTP_REFERER cgi variable is empty.

Case 1 If you call an url like this

http://dominoserver/names.nsf?Login&RedirectTo=http://www.myurl.com

and log at the server prompt page inserting:

username=XX

password=YY

The domino server validates you, redirects you to the specified url and HTTP_REFERER contains the domino server name: http://dominoserver/names.nsf

case 2 If you call an url like this

http://dominoserver/names.nsf?Login&username=XX&password=YY&RedirectTo=http://www.myurl.com

The domino server validates you, redirects you to the specified url but HTTP_REFERER is empty!

I need to use the second syntax, is there a way to overtake this bug.

Ther is also another problem: redirection seems to work only if the destination address is a domino server?

Thanks in advance. Andrea.

P.S. The same in domino server 5.x.

Subject: Redirect and HTTP_REFERER cgi variable…

Just an idea, maybe you could do something with the history object in JavaScript???

Maybe cycle through the values backwards and find the first one that is not from your host? Or if its predictable, always take the entry second from last?

Just some thoughts.

Dana