Portal session not being terminated. browser "unload" event

This line of code is in the portallauncher.default and eventually causes the problem:
EPCM.subscribeEvent("urn:com.sapportals.portal:browser", "unload", releaseProducerSessions);
releaseProducerSessions eventually calls a portal component
WSRPSessionRelease.. which is causing the problem.
When we upgraded from EP 6.0 to NW 2004, users started recieving the Netweaver Login Screen when they logged out and logged back in, in the same browser. We think this error occurs because NW 2004 implements Web Services Remote Portal functionality.
We are using SiteMinder as a third party session management tool.
What we found was that the Siteminder session was being killed but the Portal session was not. Therefore, when users logged back in they would see the generic Netweaver Login Screen, and they could actually just hit "enter" and continue to the portal.
A successful logoff, users clicked the logoff button, the DSM terminator was being called, thus killing the portal session, then a form was submitted redirecting the users the the siteminder loggoff page, which logs the users off siteminder.
When the logoff failed, we found that after the DSM Terminator was called
and before the page was being redirected, a portal component
(WSRPSessionRelease) was being called, which in turn, RECREATED the portal session. So the user never actually gets logged off from the portal.
We found that the WSRPSessionRelease component is set to
a "browser" "unload" event when the portallauncher.default component is first loaded. This is the same component that is being called when the user clicks the "X" to force close the browser.
Not everytime is the WSRPSessionRelase component being called before the redirect to the siteminder logg off page. Sometimes this component is called after the redirect, and we find that this is a successful loggoff.
The component is:
irj/servlet/prt/portal/prtroot/com.sap.portal.wsrp.coreconsumer.WSRPSessionRelease

Hello Michael,
The 'log off' issue is a known issue with Portal since EP 6
Had faced similar issue and SAP suggests to redirect the 'log off' link to another non-SAP site...like your company intranet site.
This will help the session to break.
There are 1-2 SAP Notes on this as well.
Hope this helps.
Regards,
Ritu

Similar Messages

  • Portal session not being terminated

    When we upgraded from EP 6.0 to NW 2004, users started recieving the
    Netweaver Login Screen when they logged out and logged back in, in the
    same browser. We think this error occurs because NW 2004 implements Web
    Services Remote Portal functionality.
    We are using SiteMinder as a third party session management tool.
    What we found was that the Siteminder session was being killed but the
    Portal session was not. Therefore, when users logged back in they would
    see the generic Netweaver Login Screen, and they could actually just
    hit "enter" and continue to the portal.
    A successful logoff, users clicked the logoff button, the DSM terminator
    was being called, thus killing the portal session, then a form was
    submitted redirecting the users the the siteminder loggoff page, which
    logs the users off siteminder.
    When the logoff failed, we found that after the DSM Terminator was called
    and before the page was being redirected, a portal component
    (WSRPSessionRelease) was being called, which in turn, recreated the
    portal session. So the user never actually gets logged off from the
    portal.
    We found that the WSRPSessionRelease component is set to
    a "browser" "unload" event when the portallauncher.default component is
    first loaded. This is the same component that is being called when the
    user clicks the "X" to force close the browser.
    Not everytime is the WSRPSessionRelase component being called before the
    redirect to the siteminder logg off page. Sometimes this component is
    called after the redirect, and we find that this is a successful loggoff.
    The component is:
    irj/servlet/prt/portal/prtroot/com.sap.portal.wsrp.coreconsumer.WSRPSessio
    nRelease

    Hi Michael, we are facing the same error. Have you found a solution?
    Thanks in advance and best regards

  • Session Cookies Being Overwritten Browsing From SSL to Non SSL

    I have created a bug report for this issue as well.
    Please note I am using J2EE session variables so keep that in mind.
    I am seeing session cookies being overwritten when browsing from an SSL connection to a non SSL connection.
    For example:
    Visiting https://www.domain.com/ results in a JSESSIONID cookie being set with details being send for "Encrypted connections only".
    Visiting http://www.domain.com/ results in a JSESSIONID cookie being set with details being send for "Any type of connection".
    Here's the problem:
    Say for example, you're logging into an admin module located at https://www.domain.com/admin/. Once authenticated and some session variables are set, you browse to http://www.domain.com/. When that happens your session cookie (JSESSIONID) is overwritten with a new value and you instantly lose your authentication in the admin module.
    Obviously this is causing massive problems for my clients that bounce back and forth from SSL to non SSL connections which is common for e-commerce websites.
    Steps to Reproduce:
    1. Clear your cookies.
    2. Visit a web page such as https://www.domain.com/. Note the JSESSIONID cookie value.
    3. Visit a web page such as http://www.domain.com/. Note the JSESSIONID cookie value and how it was overwritten.
    This behavior changed in ColdFusion 10. ColdFusion 9 did not overwrite the session cookie.
    Has anyone else experience this?

    Deleting and re-adding my account seems to have fixed it.  I think when I initially added my Google Talk account, it was by using the "Add Jabber Account" under 10.6 or something.  Now, when I re-added my account, I notice both "Google Talk" and "Jabber" are options, so my thought here is that Jabber and Google Talk options are no longer quite the same thing.

  • Portal Session Not Ended Immediately in Backend Causing ENQ Lock

    Background:
    We have a customized effort logging program running under Portal.  When the user decides not to save the change and just click "logoff" from portal to exit without change.
    Normal Situation:
    Normally, the user session will be terminated immediately in backend once the user logs off portal.  This will then automatically clean up all session buffer and application ENQUEUE via ABAP webdynpro Controller routine.
    Problem Situation:
    Occasionally, it is found that the session is not terminated immediately in ECC backend system.  The session still exists in ECC under SM04 and the previous ENQUEUE still exists in the ENQUEUE table under SM12.
    When the user logs back into the portal to perform the effort logging again immediately after, the application will have error complaining the employee still locked in the ENQUEUE table by the previous transaction.   
    Such leftover session will be automatically cleaned up by ECC backend system after 30 minutes timeout.  Even no action is done, the user can resume to the Effort Logging function after 30 min. after the record is locked.

    Hello,
    We are facing the same problem. Could you please let us know the solution for this issue?
    Thank you,
    Nikee

  • Session not being clean up by JRun

    My application is using IPlanet WebServer and JRun3.02 Application server. I am having a problem with active session not getting cleaned up by the App Server. When the user goes through the application and finishes the process, I invalidate the session by doing 'session.Invalidate()'. I also have set a 30 minute timeout value in the JRun global.properties file to invalidate the session if the user starts but not finish going through the application. However, the number of active session count in the JRun log doesn't seem to go down. After a few days, I ran out of sessions and the application hungs. I keep a few objects on the session including a pretty big 'pdfObject' that I use to create a PDF document on the fly.
    Any idea why JRun not able to clean up the sessions after the 30 minute timeout has passed? Does the fact that I have stored objects on the session preventing JRun from invalidating and cleaning up the session?
    Thanks in advance.

    Hi afikru
    According to the Servlet specification session.invalidate() method should unbind any objects associated with it. However I'm not conversant with JRun application server so I can only provide some pointers here to help you out.
    Firstly, try locating some documentation specific to your application server which may throw some light on why this may be happening.
    Secondly, I'd suggest running the Server within a Profiling tool so that you can see what objects are being created and how many of those. Try explicitly running the Garbage Collector and see if the sessions come down.
    Keep me posted on your progress.
    Good Luck!
    Eshwar R.
    Developer Technical Support
    Sun microsystems

  • BSP session not dying when browser window closes

    Hi,
    I am having a small problem with the bsp session. I shall explain the prb with an example.
    Lets say i have a bsp application BSP1. I open the application from the Favorites tab in the SAPGUi.
    Initially, i have another browser window open containing google.com(this is imp that i have another browser open all the time containing anything). I now start BSP1, then i close the window by hitting the close button of the browser, as a result the controller sends a exit view back to the frontend which never gets displayed. now i start BSP1 again from SAPGUi, and the browser instead of showing me the logon screen and the start page goes to the exit page of the application. In other words to the last URL that i visited last time in the application. Somehow when the window is closed, the session on the applicaiton server is not dying. This only happens if i have any other browser open all the time containing any thing.
    If i do not have any other browser open, and then i follow the above sequence of events,everything runs smoothly. Also, in the previous case, if i close the google window also and start the application again, everything runs smoothly. In IE settings , in Advanced tab there is a setting for REUSE EXISTING WINDOWS FOR LAUNCHING SHORTCUTS. If i set this option, everything runs smoothly, even if i have a Google(whatever) window open all the time. If i do not set this option, i run into the problem as in the first case. Also, if instead of opening the application through the SAPGui i open another browser from the taskbar and type in the URL , everything runs smoothly inspite of another google window being opened all the time.
    Also this problem is evident in systems with BASIS 640/level 10 and BASIS 620/level 19. It might be present in other versions also but i am working on these two systems with these versions. This problem does not pop up on BASIS 700.
    If on exit, within the controller, i reset the keep_context attribute of RUNTIME  object, everything runs smoothly.
    could you please guide me as to what can be the problem here and how it can be solved. It is important. Any kind of help and guidance would be highly appreciated.
    Looking forward to your response,
    Thanks and best regards,
    Ghufran

    The very first important aspect to understand is that CANCEL kills the session long before the request reaches the ABAP stack. So what ever you want to do, this is not the way to go.
    From reading your first post in this thread through, I have the impression that you might have some confusion between stateful versus authentication. No, I it is not the problem/solution, but just that your very long descriptions without using consistant terminology makes it difficult to understand where we are going.
    Thus, I would recommending read this article for background information:<a href="/people/mark.finnern/blog/2003/09/24/bsp-in-depth-confusion-between-stateless-stateful-and-authentication">BSP In-Depth: Confusion between Stateless, Stateful and Authentication</a>.
    Next, you CAN NOT "redirect it to the browser on the onbeforeunload() event". Well, at least I never have never succeeded.
    Once the closed button is hit, you have not many options. One idea is a window.open, see system application for examples. The other is the image loading trick that Thomas describes in his weblog. Both ideas will actually solve your problems (once you really understand what is happening). This is unfortunately not always perfectly easy.
    brian

  • Portal will not load in Browser

    Hello,
    We are running EP6 SP2 Patch 29.  I can start the portal and it starts without any errors, but when I try to access it in a web browser nothing loads.  This the second server in a cluster.
    Any ideas?
    Thanks,
    Keith

    Are you able to see the server at all? When you say this is the second cluster I take that to mean that you can access one of the nodes just not the second node. Is that correct?
    Not sure if this feature is available in 6.20 but what do you get if you enter http://host:wasport
    Do you get the was admin page? If yes what is the state of the node you are trying to access?
    If you cant see the server at all verify that you are able to ping the host etc and check that this is not a DNS issue... if you cant ping it try adding the IP address and hostname of the server into your hosts file.
    Regards
    Daniel

  • Concurrent sessions not being released in CRS2008

    We have a servlet trying to connect to Crystal Reports Server 2008 using RAS Java API to open unmanaged reports.
    We have 5 CALs and the connection type of the Guest user is configured to use the Concurrent User in the Crystal Reports Server.  We run the reports from our web application with a same user logged on.  We were able to get about 2-3 reports successfully.  After the total sessions reached 5, it fails at the very
    beginning of ReportAppSession.initialize()  The logged error message in the Crystal Reports Server is:
    ErrorLog 2010  1  7 16:29:25.187 5164 3432 (:46) (..\cdtsagent.cpp:3303): CDTSagent::doOneRequest reqId=154:CSResultException thrown.   ErrorSrc:"Analysis Server" FileName:"..\cdtsagent2.cpp" LineNum:448 ErrorCode:-2147217397 ErrorMsg:"" DetailedErrorMsg:""     ErrorSrc:"COM" FileName:"..\cdtsagent2.cpp" LineNum:443 ErrorCode:-2147210992 ErrorMsg:"All of your system's 5 Concurrent Access Licenses are in use at this time or your system's license key has expired. Try again later or contact your administrator to obtain additional licenses. (FWB 00014)" DetailedErrorMsg:""
    We are using Tomcat and have tried the configuration in web.xml of infoviewapp and cmcapp but have no luck -
    (1) Locate the pattern "logontoken.enabled" and change the value from the existing 'true' to 'false' :
    <context-param>
    <param-name>logontoken.enabled</param-name>
    <param-value>false</param-value>
    </context-param>
    (2) Make sure these lines are uncommented:
    <listener>
    <listener-class>com.businessobjects.sdk.ceutils.SessionCleanupListener
    </listener-class>
    In a past thread, it mentioned that we may try to use various SDK code offerings to manage sessions.  Could you provide some sample codes using CRS SDK or CMS configuration to release the sessions.
    Here is the codes:
    try
    ReportAppSession reportAppSession = new ReportAppSession();
    reportAppSession.createService("com.crystaldecisions.sdk.occa.report.application.ReportClientDocument");
    reportAppSession.setReportAppServer("myCRServer");
    // This is where the exception is thrown.
    reportAppSession.initialize();
    ReportClientDocument lo_ReportClientDoc = new ReportClientDocument();
    lo_ReportClientDoc.setReportAppServer(reportAppSession.getReportAppServer());
    lo_ReportClientDoc.open(asReportName,OpenReportOptions._openAsReadOnly);
    ReportServerControl control = new ReportServerControl();
    control.setReportSource(lo_ReportClientDoc.getReportSource());
    catch(Exception exc)
    System.out.println( exc);
    Edited by: Bonita Diemoz on Jan 12, 2010 8:17 PM

    Recommendation is to publish the report to the Server, and use managed reporting.
    You'd have more control over the EnterpriseSession that way.
    Unmanaged RAS does use the Guest account for logon, and you don't have any control over the EnterpriseSession at all.
    It would be better to upgrade the CAL licensing, if you require additional users.
    Sincerely,
    Ted Ueda

  • I have a Kindle Fire. I cannot log into my employee records web site. Error message: Lawson Portal does not suppurt this browser: Netscape.

    Lawson wants Internet Explorer. What am I to do?
    dull

    Change the useragent to internet explorer with a addon such as phony.
    * https://addons.mozilla.org/en-us/mobile/addon/phony/

  • Session not released in backend SAP when executing CR iView from SAP Portal

    Hi,
    We are in the process of doing some testing.  One behavior we have observed is that user sessions are being built up in the backend SAP.  Eventually, the next CR execution runs into problem.
    We are running the Crystal Reports using an iView in the SAP EP.  The iView is delivered by as included with the Integration Kit.
    We have modified different time-outs on the BOE server.  We are still having the same problem.
    Is there something we can do in the portal or the iView to terminate the sessions?
    Thanks,
    Garry

    Hi Ingo,  Thank you again for your response and support.  Well, the suggestion would be fine if our users would only be satisfied with static data.  They normally run the report and expect the latest data from the backend SAP system.
    To clarify your points, the user is not running reports at the same time.  What the user is doing is this. 
    - The user runs a report in the portal.  As you hae indicated, there is a session against SAP system.
    - Once the report is completed, the user runs the next report, and so on.
    Each time, the session remains in SAP system.  Eventually, I would see a long list of sessions in SAP.
    It seems that when the user is clicking on the next report in the portal, the session for the previous report run is not being terminated.
    I'm looking for a way to terminate the session at the completion of the report run.
    Thansk,
    Garry

  • RDP sessions being terminated

    What version of RDS server?
    Is it just random users? or is it certain users?
    If you look in event viewer under
    Application Logs/Microsoft-Windows-TerminalServices-LocalSessionManager/Operational
    It will give you the disconnect reason for their sessions.
    

    We have some users who's RDP sessions are being terminated whenever they launch programs like Adobe or IE, mostly with Adobe.  It seems to happen once, twice, maybe three times a day.  It is not always reproducible.  Anyone dealt wit this before?  Event viewer shows nothing of significance.  
    This topic first appeared in the Spiceworks Community

  • Compound clip imported into project not showing up in the event browser

    I have learnt that when one imports any clip into the project from anywhere else other than its associated event folder, the new clip also gets automatically added into the event folder. I have seen this occur when I had imported audio from the music browser onto my timeline directly.
    Today I happened to place a compound clip [a common template which I use for introduction to the video] onto the beginning of a project which I have started recently. I broke the compound clip apart and made the necessary edits. What puzzles me is that this compound clip has an audio clip and this clip was not being shown in the event browser. Is this normal?
    Ps. I have very recently updated my FCPX from version 2 to 5.
    DR.SOMANNA

    Let me explain the matter in a different way...
    I have made a compound clip of the intitial generator clip, titles and music clip which I had used for my first project. The intention to do so being that I could reuse the same for my future projects as well. I placed this compound clip in a new project which I named as templates.
    When I had started upon a new project a few days ago, I copied and pasted this compound clip from the 'templates project' and added it to the beginning of the timeline of the new project.
    Now, for purposes of editing the titles, I broke apart the compound clip and changed the text of the titles. Also, when I had ungrouped the compound clip, there did appear the music clip below the timeline. I know that clips imported from the generator browser and the titles that are added to the project do not show up in the events browser, but should not the audio clip make its appearance in the event browser? I know that when we add an audio from the music browser, this audio clip will be automatically shown in the event browser.
    My question therefore is this: is an audio track that gets added to the timeline of a project via a compound clip that has been added and ungrouped on the timeline an exception to the rule?
    Hope I have made myself clear.
    DR.SOMANNA

  • Browser close button / unload event

    Hi,
    In Ie8 session is carrying when i close the browser using X button. Is there any way to capture this browser close button or any portal unload event.
    Thanks
    Manu

    There is no clean way to do this. The only way i know of is to have a private global javascript variable true/false (true = show the popup, false = show popup) where the default value is true. On every click of link / form submit where you need the popup to be suppressed , set the value as false. (you can do this using a js library which can attach events to onsubmit, onclick of all links)
    However the behavior you are proposing is really , really annoying (as a user), consider your interface before implementing something like this. Valid usecases are prompting the user to save changes before leaving the page, not you are leaving the website (Thats why i typed something or closed the browser)

  • Purchase Order Workflow - dialog step not receiving terminating event

    Hi,
    We have a scenario wherein based on the release groups and release strategies, different peope need to release the PO's.
    I have been able to develop the workflow for this successfully, but here is where I am facing an issue.
    After the PO has been created, based on the release group and strategy, it gets routed to the appropriate 1st approver. On their approval, the PO gets routed to the 2nd approver. Once the 2nd approver approves, the dialog step doesnt get completed and is still waiting for the terminating event. Event trace shows that the event is getting published, but there is no workitem to receive the terminating event. I am not sure why this is occuring for only 2nd approver onwards whereas for the 1st approver, the terminating event is received by the workitem.
    I am using start conditions for my workflow to ensure only 1 instance of the workflow is triggered for a rel groups and rel strategy and release code, else I am multiple instances each time an approver approves the PO. I am not sure if the start conditions are causing this issue with the terminating events not being received with the workitems.
    Any assistance is welcome.
    Thank you,
    Satish

    From the information provoided it seems you are using PO that is subjected to Release of PO for multiple Release Code and each Release Code Release is being done by one approver. If that is the case then I think the Terminating event should get caught. Please check whether the Terminating event that is getting triggered is specific to the Release Code or not.
    Thanks
    Arghadip

  • I am having a persistent problems with the application tabs i pin not being saved. sometimes, they are not present when i re-open the browser.

    i have 3 sites i have repeatedly saved as an app tab. on the rare occasions i exit my browser, my pinned tabs are missing. furthermore, when i attempt to "restore previous session", the tabs that were open may be restored but the pinned tabs are ALWAYS missing and never restored.

    ''app-tabs not being saved...'''
    Be sure you close Firefox properly File (or "Firefox") > Exit not with the "x" in the upper right corner.
    Just because app-tabs will carry over from one session to another does not mean that they are fool proof or should be relied on., I keep mine in a bookmarks folder and replenish app-tabs from there when needed. It is also nice to have the "Tab Handler" to work with tabs and change all or a selection of tabs to app-tabs at once.

Maybe you are looking for

  • Error while checking configuration for adobe

    Hi, when iam checking this with below steps 1. Log on to your SAP Net Weaver AS ABAP. 2. Call transaction SA38 and enter the name FP_TEST_00. 3. Choose Execute (F8). A dialog box is displayed. 4. Enter FP_TEST_00 in the field Form. This is displayed

  • Internal errorcode, Errorcode 9050 "disk_not_accessible"  Please Help....

    Hi, I'm getting error in Installation-SAP Netweaver 2004s on AIX 5.3 usingMaxDB as database. Error Log ERROR 2007-03-10 16:09:10 The dbmcli call for action SET_LOG_WRITER_OFF failed. Check the logfile XCMDOUT.LOG. ERROR 2007-03-10 16:09:10 The dbmcli

  • Web Service to IDoc scenario: No receiver could be determined error

    Hi. I am working on a web service to IDoc scenario. I am receiving this error: <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> - <!--  Receiver Identification   --> - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://

  • Okay here are all the problems that I have

    1. When I burn to DVD movie quality drops dramatically 2. The button highlight is floating. 3. The project does not play in widscreen. 4. When I set the project to play in widscreen, it does not play in full widscreen on my TV 5. There is no color an

  • IPhoto 4 sometimes adds file(s) to cd

    When burning a cd so share an album we are getting a file added to the cd. When the pictures in an album are selected and the "Burn" button in the lower right is clicked, we are asked to put a cd in the drive and then click OK. The cd is then burnt w