A new session creates auto

Dear all,
We are on Oracle 11gR2, some of our developers ran one query and it is taking huge cpu resources, I tried to kill the session but whenever I kill the session a new session starts automatically. I tried to disconnect session using "ALTER SYSTEM DISCONNECT SESSION 'SID,SERIAL#,@INST_ID' IMMEDIATE" command but here also a new session starts.
Then I found the spid of the session and killed from OS side but a new session is still creating.
I checked and found that the query has been running from toad and one of the developer after running the query locked his machine and went back to home.
Please let me know how it can be solved.
Also, what changes required from DB side or Application (Client) side to prevent such instances.
Your suggestions are highly appreciated.
Regards.

877938 wrote:
Dear all,
We are on Oracle 11gR2, some of our developers ran one query and it is taking huge cpu resources, I tried to kill the session but whenever I kill the session a new session starts automatically. I tried to disconnect session using "ALTER SYSTEM DISCONNECT SESSION 'SID,SERIAL#,@INST_ID' IMMEDIATE" command but here also a new session starts.
Then I found the spid of the session and killed from OS side but a new session is still creating.
I checked and found that the query has been running from toad and one of the developer after running the query locked his machine and went back to home.
Please let me know how it can be solved.pull power plug from PC!
Turn the PC OFF!

Similar Messages

  • New session created with every request

    Hi there,
    I have an web application that we used to deploy on tomcat, websphere and bea without any trouble. We are trying to move to support OAS and the application gives this peculiar behavior:
    A new session is created with every single request by the client browser. I have searched these forums for the better part of today and read some interesting similar cases but none of the fixes seem to have any effect on my problem.
    Is there a different way I need to request the session object from the request in the app for OAS? Or is there a configuration that I should have? I am deploying the app as a .war file. Is there a better way to deploy on OAS, should I stick the war in a .ear?
    Any help on this would be most greatly appreciated!
    Thanks,
    -Adam

    I have a problem that matches with this subject line but its somewhat different. This original posting wants to create new session and invalidate the existing one but my problem is to keep the session invalide if it has expired for the browser.
    Anyways, here is my problem. I have JSP named entity_actions.jsp which has 3 pop-up links that opens up with code like:
    window.open('restaurantentry.do?entityName=restaurant')
    window.open('districtentry.do?entityName=district')
    window.open('baseentry.do?entityName=base')
    My web.xml has this tag:
    <session-config>
    <session-timeout>5</session-timeout>
    </session-config>
    And the way forward the response for each request is:
    context.getRequestDispatcher(urlString).forward(request, response);
    The code I check for session timeout is:
    private void checkForSessionTimeOut(HttpServletRequest request)
    throws SessionTimeoutException
    HttpSession current_session = request.getSession(false);
    logger.info(CLASS_OBJECT, "Session in checkForSessionTimeOut(): "+current_session);
    if (current_session == null)
    logger.error(CLASS_OBJECT, "SessionTimeOutException has thrown.");
    throw new SessionTimeoutException("sessionTimeOut");
    Now lets say I want to show the end user session expiry page after 5 mins of idle time. Now from entity_actions.jsp when I click/open any one popup first time after 5 mins of idle time/session expire,
    logger.info(CLASS_OBJECT, "Session in checkForSessionTimeOut(): "+current_session);
    this loggers shows current_session as 'null' and I can display session exp mesg on the popup page. But when I click/open any other popup or any other link on the page it DOES WORK instead of having current_session = null, it creates new one. And I can see the sessionid which is different than fist session created on the same base page/browser.
    The same pattern of code used to work on Tomcat and JRun before for showing consistant session expiry on all the clicks being made on the same browswer after session gets expire.
    Why OC4J / JDev 10.1.3 is creating new session on the same browser even after session has expired?
    How can I fix this?
    Thanks

  • New session created with every page request

    Hi,
    I have an application running in portal framset. A user logins into a portal and has access to several applications, that are displayed in a frameset. My application is creating a new session for every page in the application. Of course, I can't keep session variables and a large amount of sessions are being created. What could be the reason for this, and is there a work around?
    Thanks.

    There is a chance the you have cookies turned off. Sessions are maintained via a jsessionid which is stored in a user cookie. If you (or another user) don't use cookies, then the session will be lost.
    To fix this, every URL you use must be encoded, such that, if cookies are not used, the jsessionid is attached to the end of the URL. If you are using JSTL, the easiest way to do this is like this:
    <c:url var="formAction" value="someOtherPage.jsp"/>
    <form action="<c:out value="${formAction}"/>" method="GET">
    <c:url var="nextPage" value="nextInLine.jsp"/>
    <a href="<c:out value="${nextPage}"/>">Next</a> Or if you are not using JSTL, you can use scriptlets:
    <%
      String formAction = response.encodeURL("someOtherPage.jsp");
    %>
    <form action="<%= formAction %>" method="GET">
    <%
      String nextPage = response.encodeURL("nextInLine.jsp");
    %>
    <a href="<%= nextPage %>">Next</a>

  • URGENT: New sessions created as increasing hits/second! BUG in WL5.1 sp10?

              Hello,
              I am experiencing the same problem as mr. Rajesh Rajagopalan, only he had it with
              WL 6.0:
              http://newsgroups2.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.jsp&item=8925&utag=
              So when the number of hits increases, it looks like new sessions are created when
              the number of hits increases!
              Is that a bug in WL 5.1 service pack 10? I would like an answer from a BEA Weblogic
              official!
              

    Hello,
              I think that the best way is to open a case to the BEA support.
              "\"Bogdan Barzu\" Bogdan.Barzu" wrote:
              > Hello,
              >
              > I am experiencing the same problem as mr. Rajesh Rajagopalan, only he had it with
              > WL 6.0:
              > http://newsgroups2.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.jsp&item=8925&utag=
              >
              > So when the number of hits increases, it looks like new sessions are created when
              > the number of hits increases!
              >
              > Is that a bug in WL 5.1 service pack 10? I would like an answer from a BEA Weblogic
              > official!
              

  • Httprequest.getSession(false) creating a NEW Session

    I am working on a web application which uses STRUTS. All the client requests are directed to loginaction class.
    Any resource in the application, is accessed thru the action class.
    Overview: In the action class, i am checking if there is any session associated with the new user using
    session = request.getSession(false);
                      if (session != null) {
          if (session.isNew()) {
          logger.info("New Session Created [" + session.getId() + "]");
          } else {
          logger.info("Session EXIST'S ["+ session.getId()
         + "], Retreiving user from session");
                       }According to the Servlets 2.2 API:
    public HttpSession getSession(boolean create) Returns the current HttpSession associated with this request or, if if there is no current session and create is true, returns a new session.
    If create is false and the request has no valid HttpSession, this method returns null.
    if (session.isNew()) ,
    this if statement should return false and be skipped, as session = request.getSession(false);wont create a new session. When i parse the logs, I see the log statement, "New Session Created ". Which makes me wonder, that a new session is being created
    Problem: When i debug, i see that container is creating a new session if the session doesnt exist. According to API mentioned above, it should not create a new session. It should return null.
    Did anyone had a similar issue? While researching i found this article that using struts, the container creates a default session.
    I found this article: http://www.theserverside.com/discussions/thread.tss?thread_id=21643
    Environment: IDE:WSAD5.1, Appserver:Websphere, Browser:IE 6.0, Struts, JSP, JSTL

    Hi,
    We have two appliactions. Our application say B is uses authentication mechanism provided by say A.
    So the user, is presented a login page by application A. Once they are authenticated, without the knowledge of user, its being forwarded to our application say B.
    Once he is in our application, he can navigate in our application, say,
    he goes from page1 to page2. page1 is the main page. Now browser caching is enabled. When he hits the back button to access page1, browser is sending a new request to our applicaiton insted of furnising form local cache( this is another issue). Even though a new request is sent, all the requests are routed thru a struts controller action class. Now in the action class, we check if its a new session or not.
    request.getSession(false). Since the user is an old user, it shouldnt create any new session.
    As per your suggestion, where should i put the directive in the jsp to not to create a default session?. In page1 which is the main page?.
    How should i implemnt the session listener interface. Do u have any templates or code snippets?.
    Any suggestions?

  • Open New Sessions and attach

    Hello,
    I am trying to figure out how while attacehd to SAP from VBA excel to open a new session and continue the task in the new session. The end goal is to run 3 different transactions and have them up each in a seperate window. this is what I have so far but the transaction doesn't continue in the new session created it defaults back to the original window.
      Set SapGuiAuto = GetObject("SAPGUI")
      Set SAP = SapGuiAuto.GetScriptingEngine
    With SAP.Connections(0).Sessions(0)
        .createsession
    End With
      Set SapGuiAuto = GetObject("SAPGUI")
      Set SAP = SapGuiAuto.GetScriptingEngine
    SAP.Connections(0).Sessions(0).StartTransaction (Tcode)
    With SAP.Connections(0).Sessions(0)
            .findById("wnd[0]/usr/tabsTAB300/tabpF01/ssubINCLUDE300:SAPMM61R:0301/ctxtRM61R-MATNR").Text = Selection
            .findById("wnd[0]/usr/tabsTAB300/tabpF01/ssubINCLUDE300:SAPMM61R:0301/ctxtRM61R-WERKS").Text = "CHEM"
            .findById("wnd[0]/tbar[0]/btn[0]").press
            .findById("wnd[0]/tbar[1]/btn[34]").press
            .findById("wnd[0]/tbar[1]/btn[35]").press
            .findById("wnd[0]/tbar[1]/btn[36]").press
    I am attaching once...creating a new session and attaching again but it does not seem to happen in the new window created....any help please?

    Hi SLobo32, welcome to the forum !
    The question is simple but  I needed for the answer a lot of time. I have put my observations into a theory as folllows.
    By the command "create session", we opened a new SAP session. The system decides which is given session number. The task is then, how is the new session number.
    Session_number_max = 6                                  'the maximum number of possible SAP sessions
    Dim session_number_(Session_number_max)
    Set SapGuiAuto = GetObject("SAPGUI")
    Set SAP = SapGuiAuto.GetScriptingEngine
    Set connection = SAP.Children(0)
    Set session    = connection.Children(0)
    '------------------------------------------- new session connect -------------------------------------------------------------
    session_number_all = connection.children.count - 1
    for i = 1 to Session_number_max
         session_number_(i) = 0
    next 
    for session_number = 0 to session_number_all
         Set session    = connection.Children(int(session_number))
         session_number_(session.info.sessionnumber) = session.info.sessionnumber
    next
    if session_number_all < Session_number_max - 1 then
         session.createsession
         do
          wscript.sleep 500
          if connection.children.count - session_number_all >= 2 then exit do
         loop
         on error resume next
         Error_number = 1
         for session_number = 0 to session_number_all + 1
              err.clear
              Set session    = connection.Children(int(session_number))
              if err.number > 0 or err.number < 0 then exit for
             if session_number_(session.info.sessionnumber) = 0 then
                Error_number = 0
                exit for
             end if
             'session.findById("wnd[0]").iconify                          'So you can send another SAP session in the task bar.
         next
         on error goto 0
    else
    msgbox "New session is not possible."
    end if
    '------------------------------------------- new session connect -------------------------------------------------------------
    If Error_number = 0 then
    session.StartTransaction (Tcode)
    With session
    .findById("wnd[0]/usr/tabsTAB300/tabpF01/ssubINCLUDE300:SAPMM61R:0301/ctxtRM61R-MATNR").Text = Selection
    .findById("wnd[0]/usr/tabsTAB300/tabpF01/ssubINCLUDE300:SAPMM61R:0301/ctxtRM61R-WERKS").Text = "CHEM"
    .findById("wnd[0]/tbar[0]/btn[0]").press
    .findById("wnd[0]/tbar[1]/btn34").press
    .findById("wnd[0]/tbar[1]/btn35").press
    .findById("wnd[0]/tbar[1]/btn36").press
    Regards,
    ScriptMan
    Edited by: ScriptMan on May 11, 2011 3:08 PM

  • Create new session for each window opening

    From a jsp page i open a page called student.jsp by clicking on students admision no.Therefore lots of pages can be opend in new windows with relevent student details.
    but when i click on the link i called a servlet, get relevent details and redirect to student.jsp. The problem is ,all opened windows have same session id and there are session conflicts.
    How can i create new sessions for each page thru the servlet or is there any other alternatives

    I actually was working on a problem that was similar to this, and the problem is with how each web-browser works with sessions...
    Each browser window (Except in one case with IE) will use the same session in each window.
    However, you might be able to use URL-Rewritting to manage your sessions and get around using cookies for for session tracking. I personally haven't tried this, but I'm betting that it will work.
    Best of Luck,
    Nate

  • Session problem in a new window created by window.open()

    hello,
    I have a drugsearch.jsp page, I sessioned an durgCollection object on this jsp page using session.setAttribute("drugCollection",drugCollection);
    there is a link on this jsp which will call a javascript to open a new window .
    here is the javascript to open another new window:
    function openReportWindow()
    window.open("/drug/Report.jsp","report", "toolbar,scrollbars,width=800,height=800,left=100,top=10");
    but in the Report.jsp, I won't be able to get the same session object as in the calling jsp ( drugsearch.jsp) by calling session.getAttribute("drugCollection").
    if I change the link on drugsearch.jsp to link to the Report.jsp directly instead of opening a new window, then I can get the same session object from the Report.jsp.
    what's the problem? can someone give me an advice?
    thanks

    A session is assosiated with one client(browser).
    when you open a new browser, a new session is created. In order to have common place for both the browsers, try storing the data in the 'Servlet Context'

  • Create a new session when calling a new/different transaction

    Hello Everyone,
    I have a dialog program in which I have a button that calls a different transaction.  I would like for this transaction to open in a new session.  This can be easily done (and there are several posts on this) with FM's TH_CREATE_MODE or ABAP4_CALL_TRANSACTION.  Additionaly it can be done by remote enabling a custom FM and have the transaction call within your custom FM.
    My issue is that I want to pass the transaction a table so that it fills a select-options table at the selection screen.  Then of course I want to skip the selection screen and execute the transaction.  I can pass data if the selection field is a parameter field, but I need to pass the new transaction a table so that a select-options field can be filled.  Does anyone know how to do this and could recommend a proper approach?
    Best Regards,
    Scott

    It seems that you want to start of a new report by calling the ABAP4_CALL_TRANSACTION. There is a parameter USING_TAB which you can use to fill up the data (must be BDC data) to be able to pass to called transaction. Since you are dealing with the select-options this is not a good idea.
    I would suggest:
    From your Module pool,
    Fill the select option table and export it to ABAP memory using EXPORT
    Now,
    1. Create a dummy program ZDUMMY to SUBMIT your report ZREPORT.
    2. IMPORT the exported select option table from memory in ZDUMMY
    3. SUBMIT report ZREPORT with the select option
    4. Attach transaction code say ZDUMMY.
    In your module pool, after exporting the memory call the FM ABAP4_CALL_TRANSACTION with ZDUMMY transaction.
    Regards,
    Naimesh Patel

  • How to create a new session in JSP file

    Usually a child IE window uses same session with parent window. Dose someone know how to create a new session when creating a new IE window by clicking a URL in parent window? The web page is writen by jsp file.

    I am not sure of your question. Are you wanting to have 2 Session objects (one for the parent window and another for the child)?
    A session is usually created once per client and is stored on the server the session id is carried around in a cookie or a URL rewrite so that everytime the user submits a page you will be able to store/access information.
    // this will create a new session object if one doesn't already exist.
    HttpServletRequest.getSession( true );
    Hope this helps

  • NPE creating a new session on WebLogic Server 9.2

    We're getting the following stack trace from WebLogic Server 9.2 when a page gets hit.
    It appears to be a clustering error when creating a new session.
    When there is only a single server left running, the pages are served correctly.
    Any thoughts appreciated.
    2009-01-27 11:13:47,423 [ExecuteThread: '12' for queue: 'weblogic.kernel.Default'] ERROR com.vignette.portal.website.enduser.filters - java.lang.NullPointerException:
    java.lang.NullPointerException:
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:211)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:224)
    at weblogic.cluster.replication.ReplicationManager_922_WLStub.create(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at weblogic.cluster.replication.SecureReplicationInvocationHandler$ReplicationServicesInvocationAction.run(SecureReplicationInvocationHandler.java:184)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.cluster.replication.SecureReplicationInvocationHandler.invoke(SecureReplicationInvocationHandler.java:154)
    at $Proxy46.create(Unknown Source)
    at weblogic.cluster.replication.ReplicationManager.trySecondary(ReplicationManager.java:666)
    at weblogic.cluster.replication.ReplicationManager.createSecondary(ReplicationManager.java:638)
    at weblogic.cluster.replication.ReplicationManager.add(ReplicationManager.java:359)
    at weblogic.cluster.replication.ReplicationManager.register(ReplicationManager.java:352)
    at weblogic.servlet.internal.session.ReplicatedSessionData.registerOrAdd(ReplicatedSessionData.java:108)
    at weblogic.servlet.internal.session.ReplicatedSessionData.<init>(ReplicatedSessionData.java:78)
    at weblogic.servlet.internal.session.ReplicatedSessionData.<init>(ReplicatedSessionData.java:64)
    at weblogic.servlet.internal.session.ReplicatedSessionContext.getNewSession(ReplicatedSessionContext.java:161)
    at weblogic.servlet.internal.ServletRequestImpl$SessionHelper.getNewSession(ServletRequestImpl.java:2526)
    at weblogic.servlet.internal.ServletRequestImpl$SessionHelper.getSessionInternal(ServletRequestImpl.java:2111)
    at weblogic.servlet.internal.ServletRequestImpl$SessionHelper.getSession(ServletRequestImpl.java:2075)
    at weblogic.servlet.internal.ServletRequestImpl.getSession(ServletRequestImpl.java:1207)
    at com.vignette.portal.website.internal.DefaultHttpRequestWrapper.getSession(DefaultHttpRequestWrapper.java:65)
    at com.vignette.portal.website.internal.DefaultHttpRequestWrapper.getSession(DefaultHttpRequestWrapper.java:41)
    at com.epicentric.common.website.InitUtils.initSession(InitUtils.java:73)
    at com.vignette.portal.website.enduser.filters.AuthenticationFilter.initSession(AuthenticationFilter.java:47)
    at com.vignette.portal.website.enduser.filters.AuthenticationFilter.doFilter(AuthenticationFilter.java:41)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at com.vignette.portal.website.admin.internal.control.InitFrameworkFilter.httpDoFilter(InitFrameworkFilter.java:35)
    at com.vignette.portal.website.admin.internal.control.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:61)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at com.vignette.portal.website.admin.internal.control.MultipartFilter.httpDoFilter(MultipartFilter.java:33)
    at com.vignette.portal.website.admin.internal.control.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:61)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at com.vignette.portal.website.internal.StartupProtectionFilter.doFilterSingleInvocation(StartupProtectionFilter.java:100)
    at com.vignette.portal.website.internal.SingleInvocationFilter.doFilter(SingleInvocationFilter.java:52)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at com.vignette.portal.website.internal.EnvironmentalWrapperFilter.doFilterSingleInvocation(EnvironmentalWrapperFilter.java:44)
    at com.vignette.portal.website.internal.SingleInvocationFilter.doFilter(SingleInvocationFilter.java:52)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3229)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2002)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1908)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1362)
    at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
    Caused by: java.lang.NullPointerException:
    at weblogic.server.channels.ServerChannelImpl.equals(ServerChannelImpl.java:103)
    at weblogic.cluster.replication.ReplicationManagerServerRef.checkPriviledges(ReplicationManagerServerRef.java:102)
    at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:302)
    at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:877)
    at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:1084)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:1001)
    at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:240)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:881)
    at weblogic.rjvm.MsgAbbrevJVMConnection.dispatch(MsgAbbrevJVMConnection.java:446)
    at weblogic.rjvm.t3.MuxableSocketT3.dispatch(MuxableSocketT3.java:368)
    at weblogic.socket.AbstractMuxableSocket.dispatch(AbstractMuxableSocket.java:378)
    at weblogic.socket.SSLFilter.dispatch(SSLFilter.java:258)
    at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:856)
    at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:802)
    at weblogic.socket.EPollSocketMuxer.dataReceived(EPollSocketMuxer.java:192)
    at weblogic.socket.EPollSocketMuxer.processSockets(EPollSocketMuxer.java:174)
    at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:42)
    ... 2 more

    Hi Scott,
    Did you get to the bottom of this?
    We're experiencing exactly the same symptoms, except we're upgrading 8.1 -> 10.3
    App works fine on a single server, as soon as a second server is brought into the cluster we get the same exception.
    I'm checking the configs now for anything suspicious...

  • New Session getting created(!)

              Hi All,
              I am facing a wierd behavior. I have an application with a
              login page(jsp). User submits his authentication details,
              is authenticated in a servlet, and some of his information is
              put in the session. Later he gets "redirected" to another
              jsp(just like any other app).
              This is working fine most of the times. But randomly it is
              so happening that the jsp being redirected to does not get the
              values put in the session.
              Some more debugging showed that from login jsp to servlet, same
              session continued till the very last step(just before
              redirection). Just after
              response.sendRedirect(response.encodeRedirectURL(url));
              a new session gets created(!!). Any pointers?
              Please note I am testing all this out in a browser which is
              accepting cookies.
              

    Urgent!!
              We have the same problem on WLS5.1.
              Any suggestions would be fine
              Regards
              Osman
              "Bijay Kumar" <[email protected]> schrieb im Newsbeitrag
              news:3d0ed20f$[email protected]..
              >
              > Hi All,
              > I am facing a wierd behavior. I have an application with a
              > login page(jsp). User submits his authentication details,
              > is authenticated in a servlet, and some of his information is
              > put in the session. Later he gets "redirected" to another
              > jsp(just like any other app).
              >
              > This is working fine most of the times. But randomly it is
              > so happening that the jsp being redirected to does not get the
              > values put in the session.
              >
              > Some more debugging showed that from login jsp to servlet, same
              > session continued till the very last step(just before
              > redirection). Just after
              > response.sendRedirect(response.encodeRedirectURL(url));
              > a new session gets created(!!). Any pointers?
              >
              > Please note I am testing all this out in a browser which is
              > accepting cookies.
              >
              

  • To create a new session on the clcik of a button in Bsp.

    If have application A.
    On the click of the button i want to create a new session of application B.
    I used the method
    cl_http_ext_webapp=>create_url_for_bsp_application
    for calling the application B.
    but the session is maintained.
    How shall i proceed so that my application creates a new session.

    I am curious.  Both Raja and I suggest the same fix:
    >Now you probably want to add the url parameter sap-sessioncmd. There is the value open that will start a new session
    >'?sap-sessioncmd=open' and use this url for navigating.
    You said that his solution worked and mine did not.  The only difference is that I suggested that you use cl_bsp_runtime=>construct_bsp_url instead of cl_http_ext_webapp=>create_url_for_bsp_application.  This recommendation comes right from the source; cl_bsp_runtime=>construct_bsp_url is the prefered method for constructing URLs.  I am curious the other method somehow produce different results?

  • How do I create new sessions in Firefox with no add ons ? Need not be logged in user sessions .

    Hi, From our integrated desktop application,We launch web applications .On using firefox to navigate to the webpage which is depending upon the context of the user's page opened,new session has to be created for each user.However I could not find the support parameters in about:config. FF version being used is FF 3.6 .No possibility to include external addons to support this feature.Is there a way to create multiple new sessions ?

    What do you mean by "multiple new sessions"?
    Firefox 31 is the current release version, Firefox 3.6 is over 2 years beyond being supported by Mozilla.

  • I recently start using Firefox panorama. If I create a tab group that contains, for example, my favorite stack exchange websites, can I save ("bookmark") this tab group for easy access if I start a new session?

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [/questions/813855]</blockquote><br>
    I recently start using Firefox panorama. If I create a tab group that contains, for example, my favorite stack exchange websites, can I save ("bookmark") this tab group for easy access if I start a new session?

    You can bookmark all those tabs and place them in a folder.
    * "Bookmark This Page" and "Bookmark All Tabs" no longer show in the Bookmarks menu unless you open the Bookmarks menu via the keyboard (Alt + B).
    * "Bookmark All Tabs" can be accessed via the right-click context menu of a tab on the tab bar.

Maybe you are looking for

  • Error when accessing "SAP SYSTEM" tab in UM configuration

    Hi,    I'm trying to define a new SAP SYSTEM using the portal System Administration.  When I click to the SAP SYSTEM tab I have a " code too large for statement" error.  Does anyone know how to avoid that or another way to define a new system not usi

  • Scalable UI?

    This has probably already been discussed but my searches didn't turn anything up. I'm trying to figure out how to implement a JFrame with scalable components. What I mean by this is when the window is re-sized by the user, I want certain components t

  • CUP 5.3 Error Message "Invalid Central system"

    Hello Experts, I'm currently testing a CUP approval process (simple user creation with one stage of approval) and having an error message that says "Invalid Central System". This message shows up on the top screen in red text when I logon and try to

  • How can i restore my screen from blackout?

    Please help!!! Screen gone blank (dark). Can hear but can barely see.  Tried restoring with Itunes but did not work properly.  HELP!!! THANKS

  • Game (gem shop) keeps quitting when I try to open it

    I have an Imac with Tiger which plays gem shop perfectly. I tried to download this game on my Powerbook with Os v10.3.9 I just can't figure out why it won't work. It works on my brothers Ibook with the same operating system. What am I missing?