One of the problem that developers face when developing applications in their environment are used to multiple Oracle APEX session is the same address in a browser. Either had to use several browsers or come out of a session so re-entering an environment with a new session. I want to show you a very simple trick as result you can use multiple sessions with a browser in different separate Tabs.
Now for dealing with this
problem, should be change “hosts” file and add some lines to this file.
If you use Windows OS
follow below method. For another OS refer to edit-hosts-file-mac-windows
If you want to change the
hosts file on windows you have to change the hosts file with notepad in
administrator mode. Please make sure you have administration right or able to
run notepad as administrator.
- Go to Start -> All Programs -> Accessories
- Right click Notepad and select Run as administrator
- Accept to run the program as administrator if you see “Windows needs your permission”.
- In Notepad opens Click File -> Open
- Type the following in the filename filed and click open. C:\Windows\System32\Drivers\etc\hosts
Then to comply with the
following photo to any number you wish to enter a new address in a browser open
Session.
In this example the APEX URL is: http://127.0.0.1:8080/ords/f?p
e.g.:
127.0.0.1 apexdev01.iranapex.ir
127.0.0.1 apexdev02.iranapex.ir
127.0.0.1 apexdev03.iranapex.ir
Lets’ go to use multiple
sessions in a browser.
Cool trick! Thanks.
ReplyDeleteSalam sir, i had tried same as you did but. but it didn't work. can you please help me out on that
ReplyDeleteHi Mohammad,
DeleteYou must "ping your-address" and get "Reply from your-ip" in command shell and if you could reply it will work correctly.
Thanks @Saeed Hassanpour
ReplyDeleteThanks, the link for macos is not working :(
ReplyDeleteThanks for your reply. Also you can use this link https://phoenixnap.com/kb/how-to-edit-hosts-file-in-windows-mac-or-linux
DeleteThanks, the link for macos is not working :(
ReplyDelete