User Session gets invalidated automatically

Hi,
          The user session gets invalidated automatically ,this happens irregularly but has been seen many times.
          Any ideas?
          

          Akshay <[email protected]> wrote:
          >Hi,
          >The user session gets invalidated automatically ,this happens irregularly
          >but has been seen many times.
          >Any ideas?
          hi,
          1. Check whether u have mistakenly called the session.invalidate() method if
          u are using HTTPSession
          2. Check the App.server Session Timeout
          3. If you are using Cookies check whether the cookies MaximumAge is expried before
          the
          complition of your process / transcation.
          regards,
          Elango
          Elango TR
          Sip Technologies & Exports Ltd. Elnet Software City,Chennai
          http://www.siptech.co.in
          [email protected]
          

Similar Messages

  • Session getting invalidated or expire unexpectedly in the midof transaction

    We have an architecture of a load balancer that sends/receive request/response to/from 3 Oracle Http web Servers in clustered which in other hand interacts with the 3 OC4J app server(clustered). Issue is that session is getting unexpectedly invalidated or expire when user is in the mid of transaction.
    We have been doing extensive R&D to get the root cause of the issue but unable to get the exact reason. Any help regarding this issue will be highly appreciable as it is very urgent. Thanks in advance

    Greetings,
    For the logs location, please look in:
    oc4j\j2ee\home\config
    There is a file there called j2ee-logging.xml where you can set the logging level. You can also login the the OAS Console and adjust the logging level there. Don't forget that you can also use JVM logging options like:
    JVMARGS=-Xmx512m -XX:-UseGCOverheadLimit -server -XX:MaxPermSize=256m -Dclass.load.trace=class-not-found -Dclass.load.log.level=finestPlease see the link below for additional debugging and logging options:
    URL to HotSpot VM Options:
    http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp
    -Michael

  • User id getting locked automatically every day

    Hi Experts,
    One our user id is getting locked every day automatically with wrong password . We are manually unlocking everyday as of now but don't know the exact reason why is it being locked. And we found that it is getting locked from bo server because of wrong password . But unfortunately there is no background jobs are running in BW and BO. We are unable to find where this going wrong exactly.
    Please let me know how to rule out this issue, what are the places we need to check, and how can we get very detailed log about user locking.
    Refer the screen shot of user locking log.

    HI Daniel,
    I am BW Consultant and i am not that much aware of that file. Please provide navigation how and were to check that file.. If possible please provide screen shots. ***Urgent***
    Thanks in advance.
    Regards,
    PRK

  • User accounts get deleted automatically

    Hi Guys,
    there is a very strange problem. I create user accounts in domain but they get deleted after 10-15 minutes. event id 4726 is left in event viewer showing a user is deleted.
    any help would be so appreciated.
    Thanks and regards,
    Bahman

    Hi,
    Once you have completed the above settings.The appropriate events will generate if the user account changes occur including user account deletion. The next step is analyzing the event ids.
    Event ids to be analyzed:
    4726 - A user account was deleted.
    5141 - A directory service object was deleted.
    By comparing the these two event ids you can get a complete picture on user account deletion.
    Checkout the below links regarding information on event id,
    http://www.morgantechspace.com/2013/08/active-directory-change-audit-events.html
    http://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventid=5141
    If you are interested to checkout a third party tool, I would suggest JiJi AuditReporter.
    Regards,
    Gopi
    JiJi Technologies

  • JSP session getting destroyed when second user logs in

    Hi,
    I am facing a session related problem in a small login program in jsp. I am using three jsp pages, login.jsp (user logs in), page1.jsp (creates a session and stores username) and page2.jsp (accesses session).
    Login.jsp:
    No jsp actually. Just a simple html form.
    Page1.jsp:
    String name=request.getParameter("Name");
    session=request.getSession(true);
    session.setAttribute("Name",name);
    Page2.jsp:
    session=request.getSession(false);
    if(session.isNew())
    System.out.println("new session created");
    String name=session.getAttribute("Name").toString();
    As expected, it works like session getting set at page1 and used at page2. It works good if users log in one by one. The problem arises when 2 (or more users with different logins) try to access the page at same time. When a new user logs in, the previous user session gets destroyed (session.isNew() becomes true and session Id changes).
    Is it the way I am using sessions (missing something), or there is some setting in tomcat server to specify maximum number of logins (sessions that can be handled).
    Regards
    Kamal

    Hi,
    Thanks for reply, but I guess the problem is not clear. Let me explain..
    A user logs in, he reaches first page (page1.jsp), here session is getting set. Then user goes to page2.jsp where application retrieves the information from session and uses it. It works all well.
    When two (or more) user logs in.. First user logs in, he reaches page 1, session is set. But then another user logs in (different id) and a session is set for him as well. Now the problem here is that session for first user gets destroyed at this point, which is unexpected (two sessions should not conflict, on different machines).
    Additionally, the problem does not happen necessarily at second login. eg. sometimes 4 users log in and when fifth one logs in, fourth gets logged out (session gets destroyed).
    I am not able to figure out, whether the problem is in code (given in first post) or there is some tomcat setting responsible for this behavior.
    Regards
    Kamal

  • ACL failure with RDBMSRealm removed user session

    When using RDBMSRealm, the user's session gets invalidated when the user do
              not have access to certain pages. When I try this behaviour without enabling
              the realm and setting the user groups and password in weblogic.properties, I
              don't have this problem. Is this a bug?
              Basically, what we need is a way so that we can differentiate a user who
              hasn't logged in and one who does not have access rights to the resource -
              without the realm, we were able to get the remoteUser to check whether there
              is a remote user and if yes, then the login page will show a "No access"
              message rather than the login form.
              I am using sp5 and form-based authentication in a web-app.
              

    When using RDBMSRealm, the user's session gets invalidated when the user do
              not have access to certain pages. When I try this behaviour without enabling
              the realm and setting the user groups and password in weblogic.properties, I
              don't have this problem. Is this a bug?
              Basically, what we need is a way so that we can differentiate a user who
              hasn't logged in and one who does not have access rights to the resource -
              without the realm, we were able to get the remoteUser to check whether there
              is a remote user and if yes, then the login page will show a "No access"
              message rather than the login form.
              I am using sp5 and form-based authentication in a web-app.
              

  • Crystal Reports Server XI Release 2 - Automated clearing of user sessions.

    I am having issues with unused user sessions not clearing automatically from the CMS Server after they have finished using "InfoView".
    1) I have set their preferences to "always log me off InfoView" when closing the browser.
    2) I have uncommented out the "SessionCleanupListener".
    3) I have changed the "TokenSetting" to "False".
    4) I have reduced the logout time to "2 minutes".
    After trying these 4 changes individually and together the sessions are still not automatically clearing at all.
    Please can someone advise and this is starting to get very frustrating.
    Many Thanks
    Nick.

    Do you know if there is a fix available as this is on our Citrix Application servers and we need IE7 for other applications?
    If not do you know how to send SAP a direct support question?
    Many Thanks
    Nick.

  • Bean in Session getting inaccessible after x minutes

    Hi,
    we are currently devloping iViews (JspDynPapes) for EP6 SP2.
    We have several iViews which put bean in the iPortalComponentSession and the HttpSession.
    We have the following problem:
    An iView stores information in a bean and put it into session to be displayed in a table on a JSP. Now,
    if the user waits for x minutes (more than 15!) and he triggers an server side event of the ivew, the iView tries to get the bean back from session. But, if the user has done nothing for a certain period, the bean can not be accessed in that session. This raises an NullPointerException. The bean seems to be disappeared or invalid.
    Do beans stored in a session get invalid or deleted after a certin period? Can this period be customized?
    Thanks for your help,
    Maik

    Hi Maik,
    not the beans stored in the session become invalid but the session itself! For session timeout settings see Anyway to Setting Portal Timeout
    In addition, see http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpSession.html#setMaxInactiveInterval(int) (which overrides the servlet-container settings for this specific session).
    Hope it helps
    Detlev

  • Multiple Logins - users not getting disconnected

    Since applying support package stack 7 to our ECC6 EHP4 system we have had a number of users report getting the message about already being logged in when logging into the system.
    We have asked to users to chose
    Continue with this login and end any other logins in system""
    Problem is this has no effect.  Our undesirable work around has been to ask the user to log out then manually log the users out using SM04.
    Any suggestions would be most appreciated.

    Hi,
    Did the users have a clean logoff.
    The system is still holding connection even after  the user terminate his session, and that was the reason it says user already logged on.
    But the old connection do not long last, and even they eventually get closed automatically by system.
    If the users are getting disconnected automatically(connection drops) and when they are trying to connect if system shows that message, then it was problem with connection drops. You need to check the latency of network and any high latency will result in SAP terminal sessions automatic drops. In that case your network bandwidth need to be increased.
    Is this problem shown only in system that got SP upgraded in landscape?
    Regards.
    Edited by: Sita Rr Uppalapati on Dec 23, 2010 7:35 PM

  • Package getting invalid often

    Dear all,
    In our environment, one package is getting invalid automatically ..
    we are getting the error :
    ORA-06508: PL/SQL: could not find program unit being called
    This is happening regularly..no structural changes made to the package.. but the package is going into invalid state daily.. how to troubleshoot this ?
    this question might sound silly.. but in case any of you might have experienced this kinda issue?
    Kai

    Are you saying that if we call the time that a procedure in the package was last executed successfully Time 1 and the time that a procedure in the package was executed and generated the error Time 2 that there are no rows in DBA_OBJECTS with a LAST_DDL_TIME between Time 1 and Time 2?
    Does the package rely on remote objects?
    Justin

  • Regarding user session...

    Hi,
    How will you determine/set the duration before a user session gets expired in an application on Oracle 10g release 3? Is there a specific entry which is to be made in a file?
    Thanks and Regards,
    Sarab

    Hi,
    I consider that you can do that at your httpd.conf.
    Cheers,
    Hamdy

  • How to delete last user session from backend SQL query?

    Sometimes user session gets closed between some work by any reason.
    When next time that user logs to P6, he gets some error or particular functionaly dosen't work for that user or system hangs.
    In that case if i decided to clear last session history of that user from database, how to write SQL query?
    I don't want to delete all user sessions from table USESSION and USESSAUD, i simply want to delete last user session of particular user (E.g XYZ).

    I am quoting this from MOS Doc Id "Why would multiple session records be present in the User Sessions screen in P6 Web, and why might some of them have different IP addresses? (Doc ID 1600172.1)"
    Multiple sessions show up for users since different sections of P6 Web have their own sessions associated with them. If a user is authorized to use multiple areas of the software they will have multiple sessions each time they log in. Additionally, if users are closing their browsers before logging out of P6 Web Access you might see some past sessions still appearing in the list. These will eventually be cleared out by background jobs, however you can also reset the sessions in the software by clicking the "Reset User" link (Administer > User Sessions > Manage User Sessions), or by choosing the "Reset All Users" link (Administer > User Sessions > Manage User Sessions) to do this for all past sessions.
    Multiple IP addresses for sessions can happen when a user logs in from different machines. For example, a person may login at their desk, but then go to a colleagues workstation to discuss a project, and log in from there. Doing so will leave them with multiple IP addresses in the session records.
    Hope this helps
    Regards,
    Sachin Gupta

  • Lync account getting deleted automatically

     Lync account of a particular user is getting deleted automatically every friday. Verified that no automated scripts are running in that time in any of the servers. Logs in AD says the msrtc attributes are stripped by a front end server. Anyone has
    any idea whether there would be any maintenance activity in lync which will automatically delete a users lync account? Please help.

    Is this happened with different user every time or same user?
    Is this user delete from DC or Lync only?
    Verify that user isn't lock or disabled. Also verify from Lync cals.
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"

  • Terminate a user session

    hi,
    iam new to SAP.
    I have a requirement where i need to terminate the session of the particular user when i run a particular program.
    kindly,suggest me if there is any standard function module calling which i can satisfy my requirement.
    Thanks,
    JiA

    Hi,
    Thanks for the reply.
    But i want the particular user session to terminate automatically when i run my program.
    I will try using the std FM mentioned,by passing reqd parameters.
    Thanks,
    JiA

  • Long delay for ManagedEventWatcher __InstanceCreationEvent query as number of user sessions increases

    We have a Windows service that monitors for process start events and sends notifications to client applications.
    We have discovered that the delay between when a process starts and when our EventArrivedEventHandler is called gets excessively long when the number of user sessions on the Windows server gets to about 80.
    The delay gets worse as the number of user sessions gets higher.
    The delays are not consistent. Even with 100 sessions some observed delays are short but most are too long and the maximum observed delay grows with the number of sessions.
    Here is one example of the delay we are seeing.
    A client application wrote its first log record to its log file at 11:05:34.076. Our EventArrivedEventHandler did not get notified of the process start event for the client application until 18 seconds later (at 11:05:52.188 ).
    We need the delay to be less than 5 seconds to be tolerable and would like the delay to be less than 3 seconds if possible.
    Is there something we can do to reduce the delay? Below are the details of our use of WMI.
    We are using an instance of class WqlEventQuery to represent a WMI event query in WQL format.
    We are constructing an instance of ManagementEventWatcher to consume events asynchronously.
    Below is how we are instantiating and running the query. Variable m_PollingIntervalInMilliseconds is set to 1000 by default.
                    WqlEventQuery query = new WqlEventQuery("__InstanceCreationEvent", new TimeSpan(0, 0, 0, 0, m_PollingIntervalInMilliseconds), "TargetInstance isa \"Win32_Process\"");
                    m_ManagementEventWatcher = new ManagementEventWatcher(query);
                    m_ManagementEventWatcher.EventArrived += new EventArrivedEventHandler(managementEventWatcher_EventArrived);
                    m_ManagementEventWatcher.Start();
    Our Windows service is not the only user of WMI services on the server. I do not know if there is contention with other users of WMI services or if there is something about the way we are consuming WMI services that is inefficient.

    Hello RossAtWFMC,
    It seems that the services are working with a complex environment, and currently, we do not have such an environment which could reproduce this issue you described. Anyway, I would like to share whatever I found and some suggestions about this issue:
    >> called gets excessively long when the number of user sessions on the Windows server gets to about 80.
     The delay gets worse as the number of user sessions gets higher.
    This seems to show that the issue is related with the number of user sessions, it may be that when with lots of user sessions, there are something additional delay the event to be fired. As you mentions, there are other services on that server machine, if
    possible, you could make a test to run your WIM service only to see if it is still delayed.
    >> Is there something we can do to reduce the delay?
    I suggest that you could check this blog below which provide a way to debug with the .NET course code:
    http://blogs.msdn.com/b/dotnet/archive/2014/02/24/a-new-look-for-net-reference-source.aspx
    So that you could know which method inside costs most time.
    From your provided code, it is not very clear if you use multi threads in your service, if not and your event handler is short, you could have a try with it, and there is a discussion about this topic:
    https://social.msdn.microsoft.com/Forums/en-US/13f30e33-7f61-498e-a91a-ef982a63453c/event-handling-in-multithreaded-apps?forum=netfxbcl
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for