|
From my notes, I used the User defined HTML and used the following in thefield value. document.SCREEN.I1_MAINAUDR$IPADDR = <%=request.getRemoteAddr()%>;
From my notes, I know that MAINAUDR is the display file record format.
Hello Nick/Chamara,
Thanks for the feedback. We do this already with True 5250 Telnet
sessions and it works great.
Since I believe Web Facing creates a virtual telnet session that lives
in the underbelly of the Web Facing Server I don't believe it surfaces
the IP address of the user's PC because the user hits the web server
which in turn talks to the Virtual telnet device. I'll look again to
see if I can get more info from the Virtual Terminal session.
If we can't, we're going to write a little client side app that captures
the user's User ID, PC name and IP address to the iSeries in a session
table. This will definitely give us what we need but it's a small
client app which I would like to avoid.
Any other thoughts would be appreciated.
Regards,
Richard Schoen
RJS Software Systems Inc.
"Get the information you need. Now!"
Document Management, Workflow, Report Delivery, Forms and Business
Intelligence
Email: richard@xxxxxxxxxxxxxxx
Web Site: http://www.rjssoftware.com
Tel: (952) 736-5800
Fax: (952) 736-5801
Toll Free: (888) RJSSOFT
-----Original Message-----
------------------------------
message: 10
date: Thu, 5 Mar 2009 14:08:23 +0000
from: "Chamara Withanachchi" <chamaraw@xxxxxxxxxx>
subject: Re: Web Facing and Getting Web Session IP Address
Check www.rpgiv.info site you can find a sample pgm
Regards,
Chamara Withanachchi
IBM Certified Power System Expert
RPG Programmer
(owner of www.rpgiv.info)
WWW.RPGIV.INFO
Mob: +971 50 5698644
Tel: +971 6 5595887
chamaraw@xxxxxxxxxx
www.rpgiv.info
i want to be future ready. i want control. i want an i.
Sent from my BlackBerry? wireless device
-----Original Message-----
From: "Nick W Mart" <nickmart@xxxxxxxxxxxxxxx>
Date: Thu, 5 Mar 2009 07:50:28
To: Midrange Systems Technical Discussion<midrange-l@xxxxxxxxxxxx>
Subject: Re: Web Facing and Getting Web Session IP Address
Richard,
It has been a couple of years since I worked with Web Facing. I believe
there is information that can be retreived using the QDCRDEVD api. From
the
notes I have left over from that time, Use the format of DEVD0600 for
this
API. From the receiver variable that is returned, you can extract the
PC's
IP address from positions 878 to 892.
If I find an actual example of the coding that I used back then, I will
send
it along.
Nick W Mart
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.