Skip to Content
avatar image
Former Member

Session-Handling / Lifecycle management / Instances of application class

Hi there,

I'm developping a BSP-Application that inherits also other applications(text-pages) that can be started from the main-app in to a separate window.

when I open such a sub-application and close the window again (close sub-app), the main-app saves the state of the sub-app (navigation-information). altough im starting a new session(sap-sessioncmd=open in url)they use the same instance of the application class.

I thought every session gets it's own instance of application class. is this wrong?

can anybody help me?

thanks,

frank

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Mar 23, 2004 at 10:49 AM

    Hello,

    Your problem is that you need a new session every time you call your link - if you use method

    cl_bsp_runtime=>if_bsp_runtime~construct_bsp_url

    to construct your URL

    you can set a parameter in_parameters where you can set

    name = 'sap-sessioncmd'

    value = 'open'

    Hope this helps...

    Regards Matthias

    Add comment
    10|10000 characters needed characters exceeded