| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: ASP Assistance
I apologize. I grabbed an older version of the script. In fact, line 3 is 'IPCheck' and not 'UserIP'. I couldn't get anything working with UserIP.
-----Original Message-----
From: Hallas, John [SMTP:HallasJ_at_logicae.com]
Sent: Friday, April 20, 2001 10:26 AM
To: Multiple recipients of list ORACLE-L Subject: RE: ASP Assistance
FOR YOUR INFORMATION ESIS and EPFAL are now part of Logica. The Internet email addresses of the staff has changed to the following - lastnameinitial_at_logica.com eg SMITHK_at_logica.com. Emails using the old format will continue to be delivered until 30th June 2001.
I do not know ASP but shouldn't line 4 read IPCheck not UserIP
John
From: William Rogge [mailto:William_Rogge_at_voltek.com]
Sent: 20 April 2001 14:50
To: Multiple recipients of list ORACLE-L
Subject: OT: ASP Assistance
I apologize for being off topic here, but I am stuck.
I have been struggling for 3 days on what I believe is a
simple script.
Here is the piece of code which is not functioning as I
require:
1 UserIP = Request.ServerVariable("REMOTE_HOST")
2 IPCheck = Left(UserIP,7)
3 If UserIP = "192.168" Then
4 parser.setSingleSessionField "My_Template",
"template_i"
5 Else
6 parser.setSingleSessionField "My_Template",
"template_o"
7 End If
If I comment out all but line 4, I can verify that
My_Template is set to
'template_i'. If I comment out all but line 6, I can verify
that
My_Template is set to 'template_o'. If I run with now lines
commented,
My_Template winds up blank.
What am I doing wrong?
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: William Rogge
INET: William_Rogge_at_voltek.com
Fat City Network Services -- (858) 538-5051 FAX: (858)
538-5051
San Diego, California -- Public Internet access /
Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail
message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru')
and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).
You may
also send the HELP command for other information (like
subscribing).
This e-mail and any files transmitted with it, are confidential to Logica
and are intended solely for the use of the individual or entity to whom
they are addressed.
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Hallas, John
INET: HallasJ_at_logicae.com
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Fri Apr 20 2001 - 08:46:22 CDT
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
![]() |
![]() |