Need to do Conditional Redirects in Lotus Domino

35 pts.
Tags:
Conditional values
Java
LotusScript
I need to detect the host_name of users hitting my public site as the page loads, then redirect certain host_names to different URLs as appropriate.

The redirects will be in my application, not on the server itself.  I speak LotusScript fluently and a little Javascript.

Thanks!

Mike



Software/Hardware used:
Lotus Domino.

Answer Wiki

Thanks. We'll let you know when a new response is added.

You could try the “REMOTE_HOST” CGI variable (in LScript doc.Remote_Host where doc is in the in memory context document) but I doubt you will get what you are looking for. Generally the only thing you get about a client are the browser used and the IP address.

Is this for an internal website or external? If using a Form for the interface you can just add a field called REMOTE_HOST and access it. If using anything else, use the above line of code in your Query_Open.

Redirecting is at times cumbersome, a Java Servlet might be better for what you are trying to do.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • MHanson
    [...] Need to do conditional redirects in Lotus Domino [...]
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following