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:[EMAIL PROTECTED]]
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 - [EMAIL PROTECTED] eg 
[EMAIL PROTECTED] 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:[EMAIL PROTECTED]]
                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: [EMAIL PROTECTED]

                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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: William Rogge
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to