ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Page
  • Overview
  • How to?
  • Principle
  • Implementation
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
How to avoid displaying the URL of WEBDEV pages in the browser?
Overview
Be default, when the user connects to a site developed with WEBDEV (dynamic site in session mode), the browser address bar contains an address in the following format:
  • Short URL: www.mydomain.com/MyApp
  • or complete URL if the web server does not accept a short URL: www.mydomain.com/WD290AWP/WD290AWP.exe/CONNECT/MyApp
This address can easily be hidden from the user by encapsulating it in an iFrame of a static page.
Remarks:
  • This feature only affects standard dynamic sites in session mode. This feature does not affect AWP sites, PHP sites or static sites.
  • For AWP sites, the name of the WEBDEV Application Server can be hidden in the page URL via the URL Rewriting.
How to?

Principle

To display an unchanged URL when using a WEBDEV site, simply display the site in the iFrame of a static page. The address displayed in the browser is the address of the static page and the WEBDEV site is displayed in an iFrame.

Implementation

The static frameset that will host the dynamic site in session mode can be created:
  • by any editor.
  • by WEBDEV. In this case, it is recommend to use a project other than the dynamic project in session mode to display.
Example of HTML code for the static frameset to create:
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Site title</title>
<iframe src="/sitetostart" name="MySite" style="border:0;overflow:auto;width:100%;height:100%;
position:absolute;top:0;left:0;"></iframe>
</html>
In most cases, this HTML page will be the page defined by default for the Web server (IIS, Apache, etc.)
Contact your Internet service administrator to redirect the http://www.mydomain.com address to this page.
Minimum version required
  • Version 10
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help