# Running CAI in IFrame

**URL:** <https://techcommunity.softwareag.com/t/running-cai-in-iframe/57653>\
**Category:** Forum\
**Tags:** Former-Crossvision-Products, Application-Composer\
**Created:** [April 26, 2007, 2:51pm UTC](https://techcommunity.softwareag.com/t/running-cai-in-iframe/57653 "2007-04-26T14:51:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mulrich](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@mulrich](https://techcommunity.softwareag.com/u/mulrich)\
**Post date:** [April 26, 2007, 2:51pm UTC](https://techcommunity.softwareag.com/t/running-cai-in-iframe/57653/1 "2007-04-26T14:51:41Z")

</div>

I tried with “ONUNLOADBEHAVIOUR=NOTHING” in the url of the iframe, but it doesnt seem to work…

---

<div class="post-metadata">

**Author:** ![mulrich](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@mulrich](https://techcommunity.softwareag.com/u/mulrich)\
**Post date:** [April 26, 2007, 3:02pm UTC](https://techcommunity.softwareag.com/t/running-cai-in-iframe/57653/2 "2007-04-26T15:02:40Z")

</div>

It dosen’t even seem to work when entering the url directly in the browser.  
First I access my page like this:

[http://localhost:51000/OAPGui/servlet/StartCISPage?PAGEURL=/vertrag\_oap\_guii\_clt/ev.produkt.html&oapnr=1&user=1&language=de&oapmode=O&ONUNLOADBEHAVIOUR=NOTHING](http://localhost:51000/OAPGui/servlet/StartCISPage?PAGEURL=/vertrag_oap_guii_clt/ev.produkt.html&oapnr=1&user=1&language=de&oapmode=O&ONUNLOADBEHAVIOUR=NOTHING)

Change the state a little.

Then I navigate to (by entering the url in the Browser):

> **[Google](http://www.google.de/)**
>
> Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.

after that I reenter the URL to my CAI Page and I end up in the initial state. The state changes I previously made are lost…

I would have expected that I see gui in the same state as I left it.

Again best regards,  
Matthias

---

<div class="post-metadata">

**Author:** ![Martin\_Grumann](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@Martin\_Grumann](https://techcommunity.softwareag.com/u/Martin_Grumann)\
**Post date:** [April 26, 2007, 8:28pm UTC](https://techcommunity.softwareag.com/t/running-cai-in-iframe/57653/3 "2007-04-26T20:28:33Z")

</div>

Hi,

your are not far away from the solution! In addition to param UNONLOADBEHAVIOR use SESSIONID/SUBSESSIONID in order to find the right session when coming back.

There is one nice place in documentation dealing with that servlet params. See “Appendix E - StartCISPage Servlet”.

Regards! Martin

---

<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, 2:38pm UTC](https://techcommunity.softwareag.com/t/running-cai-in-iframe/57653/4 "2021-04-02T14:38:47Z")

</div>


