Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> OT: ASP Assistance

OT: ASP Assistance

From: William Rogge <William_Rogge_at_voltek.com>
Date: Fri, 20 Apr 2001 05:51:08 -0700
Message-ID: <F001.002EDB19.20010420055027@fatcity.com>

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). Received on Fri Apr 20 2001 - 07:51:08 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US