How to handle user idle time in portal?

Hi Gurus,
We want to make the portal and its content area use the same session time-out on client side. When it reaches the maximal user idle time, let's take 30 minutes for example, it will automatically log out the portal.
There is already a wonderful solution to handle portal user idle timeout on client side: https://www.sdn.sap.com/irj/sdn/wiki?path=/display/ep/epSnippet-Portaluseridletimeoutforlogoff-custom+javascript
But it does not meet our requirement exactly.
We want to reset user idle time to zero not only for 'urn:com.sapportals:navigation' event, but also for 'onclick', 'onkeypress' and 'onmousemove' events in portal header/footer and content area.
Is it possible to realize our requirement? Or, is it possible to handle the 'onclick', 'onkeypress' and 'onmousemove' events from portal content area in portal header level(masthead)?
Thanks,
Bobby

Hi Bobby,
We have the same requirement and need to subscribe to button click and other such events as well.
Would you let me know if you have implemented such a solution ?
Regards,
Melwyn

Similar Messages

  • GXD:auto logout (maximum user idle time excedded)

    Hi Gurus
    I am connecting to an PI System and an R/3 System through AT & T dialler network. after logging into the systems, i am going through different scenarios and code in the respective systems. Till 15 to 20 minutes it working fine, afetr that i am getting the following error "GXD:auto logout (maximum user idle time excedded)" and "BDV:auto logout (maximum user idle time excedded)".
    i have checked the profile parameetr instance "rdisp/gui_auto_logout" , In R/3 system it is given as 1800 and in PI system i do not have the authorization.
    Please help me to resolve the issue.
    I am working on client netowrk, shld i raise the issue with the basis Guys or it will be handled locally by the network guys.
    Please help
    Tahnking You

    Hi Arjun,
    You can contact your BASIS/ADMIN team and ask them to increase the time interval for rdisp/gui_auto_logout so that your login will remain for long time.
    Also check the link below for ref....
    http://help.sap.com/saphelp_nw04/helpdata/en/22/41c43ac23cef2fe10000000a114084/content.htm
    Thanks and Regards,
    Naveen

  • How to Handle user Session in JSP

    Help me,
    How to handle user session in JSP.......

    Prakash_Pune wrote:
    tell me some Debugging tech. so i can overcome from my problem.....Do you use an IDE? Any IDE ships with a decent debugger where in you can just execute the code step by step, explore the current variable values and check what exactly is happening. For example Eclipse or IntelliJ. If you don´t use an IDE, then just place some System.out.println() or Logger.debug() statements at strategic locations printing the variables of relevance so that you can track in logs what exactly is happening.
    or tell any other way to find is my page is thread safe or not...Just write correct code and narrow the scope of the variables as much as possible. If you for example assigned the user object to a static variable or as a servlet´s instance variable, then exactly the same user object would be used everywhere in the application. That kind of logical things.

  • How to handle  user exits while using BAPI

    HI experts can any one help me on how to handle user exits while using BAPI. Do we need to handle it explicitly or standard  BAPI will take care of it??.
    Regards,
    Hari Krishna

    If you have added some fields using append structures for screen enhancements, then you have to use appropriate user exits to fill these data while calling BAPI.  Some BAPIs have EXTENSION structures to fill the custom data which can be processed using user exists or enhancements.
    Regards
    Vinod

  • How to get system idle time

    Hello Sir,
    I am Udhaya. I don't know how to capture system idle time using java. Please any one help me how to get system idle time. Any class is available in java to get idle time?
    Thank in advance
    Udhaya

    jwenting wrote:
    DrLaszloJamf wrote:
    jwenting wrote:
    the moment you ask the system for its idle time that idle time becomes 0, so just returning a constant value of 0 would always yield the correct answer.But when you don't call this constant method the value it would return is wrong. This is the sort of thing that keeps me up at night.Except of course that when you don't call it it doesn't return it and therefore still behaves properly.
    Or were you thinking of philosphical problems like "what does a method do when it's not called?"?Actually I was trying to see if I could get the OP to say boo to a goose.

  • How to handle user preference which has "_" and " " in the name

    Hi Experts,
    I have a question how to handle value which has like "_" and "space" etc in user preference.
    If setting "a_b-c d", I could not retrieve this because it's escaped in database.
    So this code can't get value even though I can set it.
    Is there any restriction of name? Is there any documentation how to code user prefernece which has non alphabet and number in the name?
    I know it's possible to handle the data like adding escaped data. But I don't think this is the best way to retrieve the data. Because nobody confirm it's not problem in the future.
    Could you tell me the best way to get these user preference?
    Thanks in advance,
    Masaaki Tada
    Here is a sample.
    <%@ page contentType="text/html;charset=Shift_JIS" %><%@ page language="java" import="com.plumtree.remote.portlet.*, com.plumtree.remote.prc.*, java.util.*" %>
    <%
    /** * UserInfo - Simple Page * Display User Information*/
    // VariablesIPortletContext oPortletContext = null;IPortletRequest oPortletRequest = null;IPortletUser oPortletUser = null;IPortletResponse oPortletResponse = null;IRemoteSession s;IUserManager oUser;
    /* Get Portlet Objects */
    try{oPortletContext = PortletContextFactory.createPortletContext(request, response);oPortletRequest = oPortletContext.getRequest();oPortletUser = oPortletContext.getUser();oPortletResponse = oPortletContext.getResponse();} catch (Exception e) {oPortletContext = null;oPortletRequest = null;oPortletUser = null;oPortletResponse = null;}
    String val = oPortletRequest.getSettingValue( SettingType.User, "a_b-c d" );String hoe = oPortletRequest.getSettingValue( SettingType.User, "abcd" );out.println( "a_b-c d: " + val );out.println( "abcd : " + hoe );
    oPortletResponse.setSettingValue( SettingType.User, "a_b-c d", "aiueo" );oPortletResponse.setSettingValue( SettingType.User, "abcd", "bbbb" );%>

    Plumtree recommends that user preference names have only alphanumeric characters in them (a-z, A-Z, 0-9). Any non-alphanumeric characters will be encoded by the EDK.
    I strongly suggest that you change your user pref name to something that's alphanumeric. However, if that is not possible, you can use the following workaround: in the web service editor, enter the encoded name for the user pref. There are several ways to get the encoded name.
    One way is to encode the pref manually, yourself. Plumtree uses the %u encoded format: each non alphanumeric character is converted into %uxxxx, where xxxx is the Unicode representation of the character. For all ASCII characters, just look at the ASCII hex chart. For example, character "-" has a hex value of 2d. So, a preference name "jane_pref" would be encoded to "jane%u002dpref", and you'd enter the latter value on the preferences page in the web service editor.
    The other way to find out the encoded value is to set a preference programmatically and use the HTTP tunnel tool to look at HTTP traffic between the portal server and remote server. The remote server will be sending a HTTP header to the portal server (the header name will probably be CSP-User-Pref) and inside the header you should see the pref name, encoded with %u. Just copy it out of there and into the web service editor.
    Hope this helps,
    Jane

  • How to track clients idle time and force to Login View

    How can I force clients to the Login View after a period of idle time ( 1 hour). My mobile application consist of many views and need  the time out to work from any view. Your assistance is appreciated.Using Flash Builder 4.5 and AS 3.0.
    I was able to make it work using FlexEvent.Idle to determine the inactivity. But it only works when I am on the second view, if I go deeper (third view) it fails. Here is the code I am using and the error I get
    protected function view1_creationCompleteHandler(event:FlexEvent):void
         this.systemManager.addEventListener(FlexEvent.IDLE, userIdle);
    private function userIdle(e:FlexEvent):void
       if(e.currentTarget.mx_internal::idleCounter == 200)
        //do something!
        navigator.popToFirstView();
    ERROR MESSAGE
    ++++++++++++++++++++++++
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at views::MainMenu/userIdle()[C:\Documents and Settings\spences\Adobe Flash Builder 4.5\EmployeeLogin\src\views\MainMenu.mxml:89]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.managers::SystemManager/idleTimer_timerHandler()[E:\dev\4.5.1\frameworks\projects\fram ework\src\mx\managers\SystemManager.as:3292]
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()
    Message was edited by: Stewart TVDSB

    Hi Nadeem,
    You can find the max session idle time in table APEX_040000.WWV_FLOWS, attribute MAX_SESSION_IDLE_SEC .
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

  • How to handle user exit sequence

    how do handle the userexit sequence i,e in which order the user exits are stored?

    one  and state solution
    go to debugger mode make  breakponint on statement call fm.
    and press f8 continiously and check exit fm one by one.

  • How to handle user defined exception from C#?

    Hi:
    I have some PL/SQL code that will throw a user defined exception if certain conditions are met. How do I handle user defined exceptions if this procedure/function is being called from C#? C# can handle a normal Oracle SQL error (e.g. ORA-XXXX) because they are defined in the proper class, but how do I get it to know about my user defined exception? Does anyone have any links to examples of doing this?
    Thanks.

    Hi Gaff,
    Is there a particular problem you're having doing this? It works as normal for me...
    Cheers
    Greg
    PLSQL
    =========
    create or replace procedure throwsomething as
    begin
    raise_application_error(-20001,'kaboom');
    end;
    ODP
    =====
        class Program
            static void Main(string[] args)
                using (OracleConnection con = new OracleConnection())
                    con.ConnectionString = "user id=scott;password=tiger;data source=orcl";
                    con.Open();
                    using (OracleCommand cmd = new OracleCommand())
                        cmd.CommandText = "begin throwsomething;end;";
                        cmd.Connection = con;
                        try
                            cmd.ExecuteNonQuery();
                        catch (OracleException oe)
                            Console.WriteLine("caught " + oe.Message);
    OUTPUT
    ========
    caught ORA-20001: kaboom
    ORA-06512: at "SCOTT.THROWSOMETHING", line 3
    ORA-06512: at line 1

  • How to handle user exits in Standalone BIP 10.1.3.4.1

    Hi,
    I tried converting our Oracle 11i (6i reports) report to BI Publisher. Our user exits calls are commented by the BIPBatchConversionUtility.
    Wondering how can we handle user exits part to set the organization id and input the key flexfield information.
    Any help would be greatly appreciated.
    Thanks in advance.
    Thanks & Regards,
    Rama Krishna. P

    Try using BI Publisher beforeReport trigger to set values needed to be set.
    Regards,
    Gareth

  • How to know user session time

    Hi,
    I want to know how to know or calculate the user session time till now from the time when user got connected
    in simple current_time-begin_time.
    thanks in advance

    Try using the logon_time of v$session
    test@>desc v$session;
    Name                                                  Null?    Type
      LOGON_TIME DATE All columns of the view have not been displayed.
    Adith

  • How to allow user to change SAP Portal password by themselves

    We would like to allow user to change SAP Portal password by themselves. However, I added role Manage_My_Password and Manage_My_Profile to a user account. After logoned with this user account and opened the option 'Personalize'. I only find the page allow me to customize the page layout. But I haven't find tab for changing profile and password.
    Pls advise.
    Thanks.
    Edward

    Hi Edwar,
    You can hide the pages from portal personalization workset. copy the workset and select the page and click on property -> select Invisible in Navigation Areas ->yes
    You can find the workset under
    Portal content->End user content->Standard Portal Users>Workset->Portal Personalization
    If you want a custom developed application fro change password see the below blog
    A Change Password Application
    Hope it helps
    Regards
    Santosh

  • How to handle user exception in thread

    hi all
    How to hanble user exception in thread
    I cant throw any user exception here
    what is the error
    Thread threadConnection = new Thread(new Runnable() {
                   public void run() {
                        try {
                             _connection = DriverManager.getConnection(strURL, strUser,
                                       strPassword);
                        } catch (SQLException sqle) {
                             String strMessage = "Error Connecting To Settlement Service Database";
                             String strCause = "Error Occured attempting to Connect to the Settlement Service Database.<br>";
                             strCause = strCause + "The JDBC Configuration is:";
                             strCause = strCause + "<ul>";
                             strCause = strCause + "<li>JDBC Driver  : " + strDriver
                                       + "</li>";
                             strCause = strCause + "<li>JDBC URL     : " + strURL
                                       + "</li>";
                             strCause = strCause + "<li>JDBC User    : " + strUser
                                       + "</li>";
                             strCause = strCause + "<li>JDBC Password: (Masked) </li>";
                             strCause = strCause + "</ul>";
                             String strRecovery = "Please make sure the Settlement Service Database is running can be accessed.";
                             VFExceptionInfo vfExceptionInfo = VFExceptionInfoGenerator
                                       .generate(strMessage, strCause, strRecovery, sqle);
                             throw new DBAccessException(vfExceptionInfo);
                                  //unhandle exception type DBAccessException
              threadConnection.start();
              

    Who should catch the exception if it is thrown?
    You need to signal the error in any other way. What should happen if the connection can't be established?
    Kaj

  • For those at 2014 how to handle users in 2014??

    Will be migrating to 2014 soon.
    Challenge looks like it will be user creation and maintenance!
    How are others handling?
    We are a large school district with 100s of additions/moves/deletions.
    Looks like there is no easy answer with IManager - limited to the extra step of adding the PO once the user is created and then extra steps for Distribution Lists in GWadmin console and extra steps for removal of users expiring and deleting them in both Imanager and gwadmin console
    We currently use Console One for all Novell/GroupWise user maintenance.
    1) Is anyone still using C1 for user provisioning with 2012 snapins for 2014?
    2) Are there any database corruption risks if I continue to use C1 once migrated to 2014?
    3) Any plans known for enhancing Imanager to make the user provisioning with GroupWise functional again from one source?
    How is this not an issue for everyone that has migrated already?
    Trying to save GroupWise from being migrated to another solution, doubling the admin's time that creates accounts is not going to help the cause.
    Any feedback is greatly appreciated!
    Thx
    Christa

    If you have hundreds of user modifications it might be worth looking into IDM and the (now available) IDM driver for GroupWise 2014.
    Other than that I can only suggest to have someone look into the very very powerful REST API of GroupWise 2014. You can do every task you can do in the admin console from the command line. If someone has some experience with scripting, LDAP and Json it should be not too hard to set up an automation for all required actions.
    Just my two cents...

  • How to handle the One-Time Customer Process (Customizations - Master Datas)

    How can we handle the processes of one time customers (for example sales from a store without a warranty process fort he products)? Iu2019m planning of creating a different sales document type and use a single customer number for all of the documents created. On the other hand SAP has a solution for the one-time customers but I donu2019t know its details. Can anybody explain me the standard one-time customer process of SAP (the needed customizations and the master datas to be created)?
    Thanks in advance for the answers....

    Hi..
    the one-time customer is an account group (CPDA) that is used for "walk-in" or "cash" buyers. although this account group can be used for regular sales orders, this is intended to be used with the Cash Sales type of sales documents, where no accounts receivable is created. you also need the one-time customer as a "dummy" and avoid creating many customer masters for buyers who may only do one transaction with your company.
    when you use the one-time customer account group in the Cash Sales order, you enter the one-time customer number in the sold-to party field. the system will then prompt you to enter the actual name (and address) of the buyer. you can have the option of generating SD reports with the real names of the customers.
    you create the one-time customer the same way you do with the regular Sold-to party. there are some differences, in the sense that this is a "dummy" account. you do XD01 or VD01 to create the account, choosing account group CPDA. you also make entries in the sales areas.
    Regds
    MM

Maybe you are looking for

  • OS X Update from 10.1.2 to 10.2

    I recently had to do an "erase and install." The original OS was 10.1.2 and before the "erase" I was up to 10.3.9 (because of automatic software updates I presume). So now, I'm back to 10.1.2 and don't see any other updates between 10.1.5 and 10.2.8.

  • Reset/Sync Up to iCloud

    Is there anyway to reset/load the iCloud Contact list form a good known source? i.e. One way synch, from an iOS device to iCloud (The way we used to be able to do it with MobileMe)? My current iCloud Contact list is messed up and I want to reset/relo

  • Need help bout a query that will print data in matrix format..

    solved null

  • BODI and automatic use of table alias

    I have a problem with BODI's automatic use of table alias as the same as the table name, when the table name is a reserved word. I'm reading from an Informix database, where I've got a table named aggregate. This is a reserved word and gives me probl

  • Middle mouse button does not open tab with new url

    Suddenly, Firefox (3.6.10 on Kubuntu) changed the behavior of the middle mouse button. Before, pressing the middle mouse button on the regular window (not tab bar or tool bar or such) and not on a link caused Firefox to open a new tab and to attempt