Timeout Session - Expiration time of Webdynpro application

Hello,
I set the sap.expirationTime property of my application to 1 hour,  know the expiration time of my application is one hour. After time out (one hour) I am getting default 500 internal server error page. But as per the requirement we need to display a custom message instead of 500 internal server Error.
i.e.need to Redirect to Custom page with custom message instead of 500 internal server error page.
i try to follow as per this link [Timeout of a WebDynpro session;
but found that in NW 7.0 the parameter sap.sessionExpiredURL is not available anymore. How can archive this?
Conclusion: If there is a timeout session, instead of 500 internal error page how to display a custom messages?
Thanks & Regards
Maha
Edited by: Maha Hussain on Feb 10, 2009 12:00 PM

Hi Maha,
             With sap.expirationTime property, the application will certainly be expired.
If your requirement suits for the scenario just try out the following workaround.
If you want show a custom message only, you can use TimedTrigger UI Element instead of setting expirationTime just set dealy for this and in the action kust navigate to the view and displaye the custom message in that.
Regards,
Siva

Similar Messages

  • Setting the session expiration time in ESS/MSS application

    HI Experts,
    how can we control the expiration time of a particular I view ? we have implemented ESS\MSS application on our portal . The session is getting expired after 5 minutes . We would like to increase this expiration time.
    Thanks
    Surender Dahiya

    Surender,
    Most of the ESS/MSS applications are webdynpro for java applications
    check DefaultExpirationTime in the link
    http://help.sap.com/saphelp_rc10/helpdata/en/43/8a1a8ece230c8ce10000000a11466f/content.htm
    but you can set expiration time at individual application level using sapexpirationtime which will take the precedence
    Thanks
    Bala Duvvuri

  • How do i change Session Expire Time in APEX?

    Greetings,
    I am developing in APEX 3.2.
    Every few minutes while i am developing i have to log in again, it gets tiresome every day having to login 100 times.
    So i would like to know where i can change the time it takes for the session to expire so i can change it tom some big value, let's say like 8 or 12 hours.
    I would also like to change the time a regular user can stay logged in cause it also has a small time for the session expire and since i have to test everything i develop it would also be great not having to logging every few minutes when i am testing something.
    I check the places i remembered in administration and user preferences but apart from acount validity i didn t find anything.
    Thanks everyone,
    Best regards
    My Homepage
    Edited by: Igor Carrasco on Apr 24, 2009 1:18 PM

    Hi
    in Apex 3.2: go to > Application #### > Shared Component > Security > Session Time Out... and set max session lenght and Idle and out URL.
    Regards
    Rolando

  • Varing the session expiration time

    Hi all,
    the default session time with my server and the ADTB are too short (24 mins)
    Do you have a PROOFED WORKING way to extend the session lifetime?
    I tryed both to use the .htaccess variable and the ini_set("session.gc_maxlifetime")
    If I query then the ini_get("session.gc_maxlifetime") I get the new session length I decided.
    But in fact the session expires after a very short time?
    Any help would be really appreciated
    A. F.

    Hi Fonzie,
    if neither the .htaccess approach nor the ini_set function work on your host, I fear I have no idea what you could do instead, as the host admins seems to have disabled both features for whatever reason.
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • How to get Request/Session objects in a Webdynpro application

    Hi
    I am working in Enterprise Portal 7.0.
    in one of the iViews which displays a JSP page, i have set a parameter in request and session objects.
    How can i get it in my Webdynpro ABAP Application?
    Thanks & Regards
    Abhimanyu L

    hi Abhimanyu
    I believe originally access to session was deliberately not made available inside WDA.
    Growing security concerns due to misuse of session information and
    perhaps other reasons as well.
    X.509  is considered a better approach.
    This may not help you in your problem.
    But you may see a trend in WDA pushing more robust and client independent
    approaches.
    Full x.509 access should remove the need for session fiddling.
    Also when developers access such session info directly, there is a possiblity
    when they dont understand the technology exactly that they create a security hole.
    You may know how to do safely, it is however discouraged.
    Im not aware of a way to get at the session info inside the WDA framework.
    Well not without a mod to the framework.
    It may be possible without a mod, but I dont know the trick.
    If someone has a little trick... please post.
    You may need to use BSP, if your only solution requires access to the session info.
    regards
    Phil

  • Waht is the maximum session expire time?

    i have a web application with login.It does not work when my app reaches the threshold session time.
    What is the maximun time for session??

    Depends per appserver. Refer its documentation / configuration. The default is usually 30 minutes.
    You can however configure it yourself per webapp using <session-config> in the web.xml.

  • How to make a window disable/enable in run time in webdynpro application

    Hi all,
    1) my requirement is in run time i want to make the content of a window in disable mode?
    2)  and again it should display in enable mode when we perform some action?
    thanks & regards
    naveen
    Moderator Message: This has been covered numerous times in this forum. Also, the forum is not a free consulting service here to do your job for you.
    Thread locked
    Edited by: Neil Gardiner on Nov 22, 2010 9:27 PM

    Hi,
    You will not be able to do this with a standard radio button, as each one will be in a separate instance of the row.
    The easiest way is to use a checkbox (as you can script this on/off) and then make it look like a radio button.
    Example here:
    https://acrobat.com/#d=sasUNmniOUgs3MwY-p4H8Q
    Hope that helps,
    Niall

  • Application Expiration time

    Hi Experts,
    My all WebdynPro Java applications are getting expired after 1-2 minutess. Even I have set parameter Expiration time = 1000 sec  for all my application.
    Please let me know if I am missing something.
    Regards,
    Rohit

    Hi,
    Check the expiration time of your WAS. Because, even if u increase the Expiration time of ur application if the WAS expiration time is less, then its of no use.
    Regards,
    Poojith MV

  • Alert user 5 minutes before session expires

    Hi folks,
    I need to provide a functionality in the web application to alert the user before the session expires. The session timeout is set to some value in web.xml. I need to track the idle time of the user using the application. If the idle time is 5 minutes less than the session timeout time, i need to provide an alert to the user regarding the session expiration time.
    I tried to implement this using SessionListener but couldnt. What is the best way to implement this function?
    Thanks.

    Mujju101 wrote:
    Hi folks,
    I need to provide a functionality in the web application to alert the user before the session expires. The session timeout is set to some value in web.xml. I need to track the idle time of the user using the application. If the idle time is 5 minutes less than the session timeout time, i need to provide an alert to the user regarding the session expiration time.
    I tried to implement this using SessionListener but couldnt. What is the best way to implement this function?
    Thanks.As my fellow poster advised javascript is the way to go.
    one can pickup a random idea from the below thread of how to go about
    [http://forums.sun.com/thread.jspa?messageID=9988186]

  • SJSAS 9 and JSF - session expiration

    Hi
    I'm developing JSF (1.2) application. I'm using SJSAS 9, EJB 3.0 and toplink. My problem is session expiration. When user session expires and then user click for example on Save button on JSF form, application goes to login page, but after login user receive Internal server Error screen. As I see, session expires but after login, POST request is resend but all related objects don't exist any more (NullPointerException occurs in prerender method). Currently I'm redirecting to main page using following code:
    public static ExternalContext getExternalContext() {
            return FacesContext.getCurrentInstance().getExternalContext();
    getExternalContext().redirect(MAINPAGESTR);
    ...in try catch block ,in prerender method (JSF). Does anybody knows what should I do?

    Have you tried to set a servlet filter to catch the error and build a nicer page?
    If you can tell me how to set up a short session expiration time on Tomcat,
    I can do the tests.
    I am interrested in this issue as I will have to solve it for a project in the
    next 2 weeks.

  • Issue in webdynpro application while calling from UWL

    Hi All,
    I am working on APPRAISAL workflow in HCM module.
    In new version of SAP has provided ABAP web dynpro application HAP_MAIN_DOCUMENT (component HAP_MAIN_DOCUMENT)
    but it is not integrated with workflow. Earlier insted of this application there was a BSP application and this was integrated with workflow.
    Now to integrate ABAP webdynpro application with workflow I have created new web dynpro application and calling HAP_MAIN DOCUMENT application and when I test through SE80 transaction then I am just passing Work Item ID and it is opening HAP_MAIN DOCUMENT application. I have done it as follows.
    In swfvisu I am passing Work Item ID and In application I am getting business object details using this I am createing a URL and then using exit plug I am calling HAP_MAIN_DOCUMENT application
    *METHOD exit1 .*
    * DATA lo_nd_new_url TYPE REF TO if_wd_context_node.
      **DATA lo_el_new_url TYPE REF TO if_wd_context_element.**
      **DATA ls_new_url TYPE wd_this->element_new_url.**
      **DATA lv_url TYPE wd_this->element_new_url-url.**
      **DATA: l_cmp_api TYPE REF TO if_wd_component,**
            **result TYPE REF TO if_wd_window,**
            **l_window1 TYPE REF TO if_wd_window_manager.**
    ***     navigate from <CONTEXT> to <NEW_URL> via lead selection**
      **lo_nd_new_url = wd_context->get_child_node( name = wd_this->wdctx_new_url ).**
    ***     @TODO handle non existant child**
    ***     IF lo_nd_new_url IS INITIAL.**
    ***     ENDIF.**
    ***     get element via lead selection**
      **lo_el_new_url = lo_nd_new_url->get_element( ).**
    ***     @TODO handle not set lead selection**
      **IF lo_el_new_url IS INITIAL.**
      **ENDIF.**
    ***     get single attribute**
      **lo_el_new_url->get_attribute(**
        **EXPORTING**
          **name =  `URL`**
        **IMPORTING**
          **value = lv_url ).**
      **wd_this->fire_exit_plg( url = lv_url ). "abap_true**
    ***  l_cmp_api = wd_this->wd_get_api( ).**
    ***  l_window1 = l_cmp_api->get_window_manager( ).**
    ***  result = l_window1->create_external_window(**
    ***url = lv_url ).**
    ***  result->open( ).**
    **ENDMETHOD.**
    In SE80 it is opening application perfectly in same session of new Z webdynpro application.
    But when I click on UWL workitem it is not opening.
    In dubugging I checked that workitem ID is passed correctly also URL is created correctly for HAP_MAINDOCUMENT but it is not opening.
    Please let me know is there any setting in UWL config.
    Edited by: Akshay Kale on Nov 17, 2009 11:51 AM
    Edited by: Akshay Kale on Nov 23, 2009 10:07 AM

    Hi akshay,
       Check the following links ,
    Workitems, UWL and Web Dynpro for ABAP
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20f4843e-314f-2a10-2a88-8c4afa20dda6
    another that talks about swfvisu
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a002d1eb-33f0-2b10-f391-e1e0c3057c17&overridelayout=true
    hope this helps.
    Thanks,
    Sahiba

  • How to maintain session-expiration details..?

    Where i have to include session-expiration time in ATG (i.e how to fire an session-expiration event) ..
    Thanks in Advance,
    Vishnu & Nithin Kayithi

    you might want to check this link.
    http://atgkid.blogspot.com/2011/11/atg-session-management.html

  • Session expired error(ISS , ASP related problem

    We have one server which contain both ISS & WEB server ,on this server the database is running perfectly all right, also we are able to access the our site also (Named as UMPIRE ), but after few seconds , we get an error that the session is expired. Again when we refresh the page it start running. As per my knowledge, I think the session expire time given to the site is very less
    Actually the web page is on ASP and ISS is installed on the server , i think some configuration setting is to be required for the ISS , after the installation
    Can anybody help in this regard , what are the reason to get this error
    Session expired
    and whhat is the solution to remove this error

    And just how does this forum's subject matter, SQL and PL/SQL, factor into your problem and question about ISS configuration?

  • Expiration time

    Hi,
    What is the purpose of expiration time in web dynpro application ?
    Thanks,
    Ravi

    Hi ravi,
    At design time, you can declare several configuration properties for your Web Dynpro application. Examples of this are the specification of an expiration time for the application (ExpirationTime) or the definition of the HTML page to be used as the logoff page (LogoffURL). The configuration property Authentication, which describes the Boolean value for the use of the authentication, is also included in the configuration options.
    You set the properties of the application configuration in the SAP NetWeaver Developer Studio. For some properties, the values of the Web Dynpro system configuration are adopted if you have not already set them explicitly in the application configuration. For example, the value of the DefaultExpirationTime parameter of the Web Dynpro system configuration is used if you have not assigned a value to the ExpirationTime property of the application configuration.
    The configuration property ExpirationTime describes the lifetime  in seconds of a Web Dynpro application on the server before the Web application is terminated by the server. The value that is assigned to the DefaultExpirationTime parameter in the system configuration is used as the default value.
    ExpirationTime Specifies the lifetime in seconds of a Web application on the server before the Web application is terminated by the server.
    The value of the DefaultExpirationTime parameter of the system configuration is used as the default value.
    Regards,
    Sunaina Reddy T
    Edited by: Sunaina Thatipally on Apr 29, 2009 9:13 AM
    Edited by: Sunaina Thatipally on Apr 29, 2009 9:18 AM

  • When does a session expire

    Hello,
    I have experienced that the calendar 5.1.1 session will not die. I have checked the documentation and looked through the ics.conf, without success.
    Any suggestions?
    Thanks in advance,
    Roberto

    ics.conf file should contain all the configuration info at least cal. 5.1. you will able to find http session time by second. that should be your session expire time pls. note it's idle time not first connection time.

Maybe you are looking for