cancel
Showing results for 
Search instead for 
Did you mean: 

Close session of BSP iView

Former Member
0 Kudos

Hi!

I have developed a stateful bsp application based on the MVC design pattern. It uses a special starting page (similar to the one of the 'system' bsp application) to close the session of the user on logout. This is done by generating an additional popup window which opens/closes the user session.

While this works fine when started as standalone appl. it doesn't work for my iView holding the bsp appl.. Here I don't see the popup and the session will never be closed. You can see them running i.e. in SM04.

What I need is a mechanism to close the session either when the user leaves the page holding the iView or when he logs off the portal. Anyone knows how to do this?

I integrated the BSP application by using the BSP iView template and the URL iView template, but it works for none of them.

Best regards, Thomas

Accepted Solutions (0)

Answers (1)

Answers (1)

Ulli_Hoffmann
Contributor
0 Kudos

Hi Thomas,

if you use one of the sessionframe.htm pages copy it to your app and change the 'target_page' variable this should work. Of course you need to specifiy the sessionframe.htm as your starting page in the appropraite iView field.

Regards,

Ulli

Former Member
0 Kudos

Hi Ulli,

thanks for your answer.

As you expected I use a copy of page session_single_frame.htm as starting page for my application. I slightly extended it to fit my purposes and changed the 'target_page' attribute to point to my controller (maincontroller.do). In my BSP iView I specified this page as 'Start Page'.

When I run the application outside the EP all works fine (when closing the browser window I get a popup window closing the user session). When am I supposed to see this popup in the EP? When I log off? When I close the browser? ...

I have 'Delta Handling' activated for my apllication - may this be the reason?

Best regards, Thomas

Former Member
0 Kudos

Hi,

I got it to work now - but only when integrating my BSP application as URL iView...

Regards, Thomas