Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.