× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



An easy way to do it will be to put in the replaced NetData a refresh tag to the .net page. Like this:

<html>
<head>
* <meta http-equiv="refresh" content="0;URL=http://ISS.server.etc/page.asp?parm1=$(parm1)&...">*
<title>Detalle de Asiento</title>
...

The "meta" tag will send the user to the new page when he goes to the usual one.
You can change the 0 (in front of the URL) for a few seconds in order to have a pause before going to the new page, but this will cause the new page to be percived as slower.
A good thing about this solution is that when the move is complete (if it ever gets there) the new programs will have nothing to change.

Mark Allen wrote:

The NET.DATa stuff is on the 400 and the ASP stuff will be on an IIS server,
the main entry point is the NET .DATA stuff. what we want (if possible) is
a way for NET .DATA to do the "redirect" to an IIS server ASP page
"automagically" if a certain condition is met instead of going to the "next"
NET .DATA page...

Probably not clear but I am grudingly moving to .NET and still gotta figure
this stuff out

On Dec 20, 2007 8:56 AM, Walden H. Leverich <WaldenL@xxxxxxxxxxxxxxx> wrote:


In your example you both the net.data and the .net pages were on the
campusweb.tui.edu server. Since an address can only be backed by a
single web server you're going to have to move that web server from the
System i to a windows box. So, the question now is, when the windows box
sees a request for xxx.mbr can you get it to (conditionally) redirect to
another site, say campusweb1.tui.edu.

There are a couple of ways to do this, two that spring to mind are
either a custom 404 handler (since the .mbr doesn't exist on the iis box
iis will send it to the 404 handler) that handles the request for .mbr
and optionally checks some data and then redirects either to
campusweb1/xxx.mbr or to campusweb/xxx.aspx.

The other way would be to map the .mbr extension into asp.net and then
have a httphandler that handles all .mbr requests and then checks the
code and rewrites/redirects as needed.

-Walden

--
Walden H Leverich III
Tech Software
(516) 627-3800 x3051
WaldenL@xxxxxxxxxxxxxxx
http://www.TechSoftInc.com

Quiquid latine dictum sit altum viditur.
(Whatever is said in Latin seems profound.)
--
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-2024 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.