Skip to Content
author's profile photo Former Member
Former Member

BSP Application session not closing in portal

Hai all

We developed BSP application, name bsp_salesmain. this application has controller which calls from

portals.this controller prepares a url to navigate to selected area from the choosen option of the portal menu.

say suppose , if i click on catalog(this event starts our main application bsp_salesmain then it prepares catalog url(../../catalog/session_catalog.htm?params).so another bsp application called into my portal where it performs all catalog business logic.

so internally another application started.here you can perform all the evnts provided

by catalog application. this is working smooth upto this point.but when i click on ordering(again my main appl prepares url which belongs to ordering application,say(../../ordering/session_order.htm?params)

my previous application session (catalog) is stiil retain in sm04 and not closing.if come back to catalog again

its showing all the previous selected values..if someone already worked on this kind of problem plz sujjest ur solution

Thnaks in advance.

leoiz

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on May 11, 2005 at 09:32 AM

    We have seen this behaviour where in ONLY the BSP application defined in the BSP iview are handled by portal session manager and not the further ones called from this BSP.

    To overcome this you could try adding a javascript <u><b>onunload</b></u> event which would close the session.

    Regards

    Raja

    Add a comment
    10|10000 characters needed characters exceeded

    • > Hai Durai,

      > your name sounds that your from Tamilnadu.. is

      > it..?

      YES

      > Anyway can you explain your solution in detail..

      >

      you have BSP application A and a BSP iview is created pointing to A.

      from BSP application A you are calling application B. Now to kill server side sessions of application B call a js funcion (exitBSPApplication) on unload event of the pages.

      code for exitBSPApplication.

      <script language="JavaScript">
      
      function exitBSPApplication()
      {
      img=new Image;
      img.src = document.location.href+"/1x1.gif?sap-contextid=<%=cl_http_utility=>escape_url( runtime->server->session_id ) %>&sap-sessioncmd=CANCEL";
      window.setTimeout(document.location.href="somepagetonavigateot.htm", 750)
      }
      </script>
      

      Hope this is clear.

      Regards

      Raja

  • author's profile photo Former Member
    Former Member
    Posted on May 19, 2005 at 03:02 AM

    Hai durai,

    Sorry for the delay, we applied the logic which you had given to me...its working fine ( all internal sessions closing correctly )and my main application sesion is not closing. what colud be the cause..?

    leoiz

    Add a comment
    10|10000 characters needed characters exceeded

    • Its possibly because the Portal DSM Terminator is not working properly. Talk to your Portal system admin guys.

      I hope you have the <b>supports portal integration</b> check box for your BSP application.

      Since your original question is answered can you mark the thread as answered .

      Regards

      Raja

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.