# A redirection to another URL

**URL:** <https://techcommunity.softwareag.com/t/a-redirection-to-another-url/99430>\
**Category:** Forum\
**Tags:** Mainframe-Integration, ApplinX\
**Created:** [January 9, 2012, 2:11pm UTC](https://techcommunity.softwareag.com/t/a-redirection-to-another-url/99430 "2012-01-09T14:11:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bernie\_liege](https://avatars.discourse-cdn.com/v4/letter/b/9fc29f/32.png) [@bernie\_liege](https://techcommunity.softwareag.com/u/bernie_liege)\
**Post date:** [January 9, 2012, 2:11pm UTC](https://techcommunity.softwareag.com/t/a-redirection-to-another-url/99430/1 "2012-01-09T14:11:52Z")

</div>

Hello all,

I search a method to open in the same windows an another absolute adress from my applinx application.

In fact, in the applinx screen, I want to put a button “Go to external application”

I tried a javascript method as

```auto

<script>
       window.open("http://externalServer/AnotherApplication.html", "_self");
</script>

```

but , with IE, we keep the same adress “[http://myapplinx/z\_container.jsp](http://myapplinx/z_container.jsp)” and there are some problem of securities.

Best Regards

---

<div class="post-metadata">

**Author:** ![Assaf\_Appel](https://avatars.discourse-cdn.com/v4/letter/a/f4b2a3/32.png) [@Assaf\_Appel](https://techcommunity.softwareag.com/u/Assaf_Appel)\
**Post date:** [January 10, 2012, 11:19am UTC](https://techcommunity.softwareag.com/t/a-redirection-to-another-url/99430/2 "2012-01-10T11:19:34Z")

</div>

Hi Bernie,

ApplinX framework is built with a frameset on top (z\_container) and that’s the reason that you didn’t completely left the framework by using “\_self”. Instead you should use “\_parent”.  
Another thing is that in the case of going to another location or closing the window, the framework by default will ask the user if he sure that he want to leave the page as this will disconnect the session. If you would like to prevent this message and disconnect the session automatically, you should uncheck the checkbox “Request confirmation to disconnect when browser is closed” in the framework configuration editor (screenshot attached).

Hope it helps  
Assaf

 ![disconnect confirmation .png](https://global.discourse-cdn.com/techcommunity/original/2X/5/5b56b4206df9d11d4c483968454724b3db7d054e.png)

---

<div class="post-metadata">

**Author:** ![bernie\_liege](https://avatars.discourse-cdn.com/v4/letter/b/9fc29f/32.png) [@bernie\_liege](https://techcommunity.softwareag.com/u/bernie_liege)\
**Post date:** [January 11, 2012, 11:20am UTC](https://techcommunity.softwareag.com/t/a-redirection-to-another-url/99430/3 "2012-01-11T11:20:32Z")

</div>

Thank you Assaf.

I forget to tell you that I am with an old applinX 5.x.x (not the 8)  
I must try the “\_parent”.

Regards

---

<div class="post-metadata">

**Author:** ![bernie\_liege](https://avatars.discourse-cdn.com/v4/letter/b/9fc29f/32.png) [@bernie\_liege](https://techcommunity.softwareag.com/u/bernie_liege)\
**Post date:** [January 11, 2012, 11:23am UTC](https://techcommunity.softwareag.com/t/a-redirection-to-another-url/99430/4 "2012-01-11T11:23:03Z")

</div>

assaf, you’re a genious,

Big thanks.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:01pm UTC](https://techcommunity.softwareag.com/t/a-redirection-to-another-url/99430/5 "2021-04-02T15:01:25Z")

</div>


