Device Detection
-
- New User
- Posts: 4
- Joined: Wed Jun 22, 2011 10:15 am
- First Name: Kevin
- Last Name: Godfree
- Company Name: Contrans
- Phone: 519-421-3300
- Address 1: 1179 Ridgeway Rd
- City: Woodstock
- State / Province: Ontario
- Zip / Postal Code: n4s0a9
- Country: Canada
- Contact:
Device Detection
Is there a client-side application/widget that can determine the device that the user is working on and make it available to a back office field so an RPG program can know what location the user is working from?
- Brian
- Profound Logic Staff Member
- Posts: 286
- Joined: Thu Apr 14, 2011 10:23 am
- First Name: Brian
- Last Name: May
- Company Name: Profound Logic Software
- Contact:
Re: Device Detection
What exactly are you looking for? IP address, Browser, Physical Device Model?
-
- New User
- Posts: 4
- Joined: Wed Jun 22, 2011 10:15 am
- First Name: Kevin
- Last Name: Godfree
- Company Name: Contrans
- Phone: 519-421-3300
- Address 1: 1179 Ridgeway Rd
- City: Woodstock
- State / Province: Ontario
- Zip / Postal Code: n4s0a9
- Country: Canada
- Contact:
Re: Device Detection
IP or serial# of the disk drivet - we need to know the device so it can be cross referenced to a location file
- Brian
- Profound Logic Staff Member
- Posts: 286
- Joined: Thu Apr 14, 2011 10:23 am
- First Name: Brian
- Last Name: May
- Company Name: Profound Logic Software
- Contact:
Re: Device Detection
The IP address can be retrieved from your RPG program without any client side widget.
If you are running in a pure ProfoundUI environment, we set an environment variable on the job called REMOTE_ADDR. You should be able to retrieve it to get the IP.
If you are running in Genie, or your Profound UI application was called from a Genie session, this environment variable does not exist, but you can retrieve the IP from the display device just like you would with a 5250 session if Genie is configured to run using virtual terminal.
If you are running Genie in Webfacing Server mode, it is very difficult.
Does this help?
If you are running in a pure ProfoundUI environment, we set an environment variable on the job called REMOTE_ADDR. You should be able to retrieve it to get the IP.
If you are running in Genie, or your Profound UI application was called from a Genie session, this environment variable does not exist, but you can retrieve the IP from the display device just like you would with a 5250 session if Genie is configured to run using virtual terminal.
If you are running Genie in Webfacing Server mode, it is very difficult.
Does this help?
Who is online
Users browsing this forum: No registered users and 3 guests