I like the idea of redirecting to another, "Leave me alone"  page (thanks
also Bob C. ).   I'm going to use that, I think.

What it is...and I wish I had an alternative, but at the moment, I'm stuck
with this particular configuration...is that I'll have my users coming in to
a website running on OS/400. I'll validate their AS/400 User Profile and
Password using an RPGIV CGI program and some APIs (yeah...yeah..I know what
you are going to say...but I have to use RPGIV and CGI so that others in our
shop can maintain this stuff...no one besides me wants to learn to use
Java/JSP's....)....then once they are authenticated...I have to pass them to
another HTML page that has an ActiveX object in it to start a JWalk
(Seagull's screen scraper product) session.  What I'm trying to avoid is
having the users type in the URL to the JWalk page directly and thereby
bypassing our initial web-based security.

There's probably a better way to do all of this, but this is the method I'm
working from at the moment.

Stupid Jwalk....:-)   NOT! my favorite product...



Shannon O'Donnell


----- Original Message -----
From: <dmosley@xxxxxxxxxx>
To: "Web Enabling the AS400 / iSeries" <web400@xxxxxxxxxxxx>
Sent: Monday, June 23, 2003 11:01 AM
Subject: Re: [***Probable Spam***] [WEB400] HTML GOTO


>
> Couple things you could do.
>
> 1) If they're not a 'Welcomed' user, then forward them to different
> webpage.
> 2) If you don't want to do that, then if they are welcomed, then include
> you HTML in java script that determined that tey were welcomed...
>
>
> David L. Mosley, Jr.
> Systems Analyst
> 2000 CentreGreen Way
> Suite 250
> Cary, NC 27513
>
> www.dancik.com
>
>
>
>                       "Shannon
>                       O'Donnell"               To:
<web400@xxxxxxxxxxxx>
>                       <sodonnell@xxxxx         cc:
>                       ebooks.com>              Subject: [***Probable
Spam***] [WEB400] HTML GOTO
>                       Sent by:
>                       web400-bounces@x
>                       idrange.com
>
>
>                       06/23/2003 11:53
>                       AM
>                       Please respond
>                       to Web Enabling
>                       the AS400 /
>                       iSeries
>
>
>
>
>
>
> This may sound stupid...but I'm pretty sure I have a valid use for this
> functionality:
>
>
> Is there an HTML equivalent of GOTO?
>
> What I want to do is throw some JavaScript onto a page, and if certain
> conditions are not true...I want to close the page/and/or jump around a
> block of HTML code (code that is NOT part of the JavaScript).
>
> Here's a code fragment that I want to perform:
>
> <HTML>
>
> <BODY>
>
> <SCRIPT Language="JavaScript">
>  if (document.refrrer != www.ebay.com) {
>    document.write ("You DID NOT come from eBay...so you are welcome
> here!");
>  else
>   document.write("We do not allow eBay users to visit our website.
> Begone!");
>  }
> </SCRIPT>
>
>
> <H1>Welcome Friend!</H!>
> </BODY>
> </HTML>
>
>
> What I want to do is to put some kind of "goto" in that last block of code
> so that the remaining HTML is not executed. In other words... I don't want
> the "Welcome Friend" text to be displayed in this example.
>
> Any ideas?  Window.close won't work becuase it's too easy for the user to
> just avoid closing teh window.
>
>
>
>
> Shannon O'Donnell
>
>
>
> _______________________________________________
> This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
> To post a message email: WEB400@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/web400
> or email: WEB400-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/web400.
>
>
>
>
>
>
> _______________________________________________
> This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
> To post a message email: WEB400@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/web400
> or email: WEB400-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/web400.
>
>
>



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.