on 08-31-2008 5:01 PM
Is there a way in Integrated ITS to change the session time out page or have it redirect somewhere else?
400 Session timed out - please log in again
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
check this online help for setting up custom error pages
http://help.sap.com/saphelp_nw2004s/helpdata/en/b4/85cd17dbc04f5c8d5069e021595e6f/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, I've read through the documentation and have a couple questions.
Prerequisites
To use dynamic error handling in the ICM or Web dispatcher, you must set the profile parameter icm/HTTP/error_templ_path to the directory with the error template files. For example:
icm/HTTP/error_templ_path = /usr/sap/B6M/D13/data/icmerror
Can I make that path any path I want it to be? say........./sap/public/bc/its/mime/ww20/er/
Procedure
Create files ICMERR-.(s)html in the relevant directory for the error codes you want. You can create static or dynamic error pages.
How do I determine the ICMERR code from this page? Would it be 400?
400 Session timed out - please log in again
-
-
Error: -11
Version: 7000
Component: ICM
Date/Time: Thu Sep 4 14:23:11 2008
Module: icxxthr_mt.c
Line: 1705
Server: onebase_DEV_00
Error Tag: {-}
Detail: Session does not exist
© 2001-2005, SAP AG
So if the error code is "400" would the page it's asking me to create in that directory be ICMERR-400.html?
*******************************************************
rdisp/gui_auto_logout - currently set at 14400
rdisp/plugin_auto_logout - currently set at 1800
*******************************************************
The kernel regularly checks whether a session is still in use. Any session that is no longer in use is removed. If the parameter rdisp/gui_auto_logout is set, this timeout also applies to HTTP sessions as well as GUI sessions. If you want to reduce the timeout for the HTTP sessions, you can do so using the parameter rdisp/plugin_auto_logout. The timeout for the SAP GUI for HTML can thus be reduced to a shorter timeout than the other SAP GUIs with the parameter plugin_auto_logout (for example, SAP GUIs for Windows). If rdisp/plugin_auto_logout = 0 is set, the timeout is deactivated for HTTP sessions.
You can then overwrite this general timeout setting in Transaction SICF for each individual service by specifying a timeout for a specific service. However, the gui_auto_logout parameter always offers the longest possible timeout value by default, so that the session is terminated in any case when this value is exceeded.
Adjust these to different value and test. Talk to your basis team. They will help you on this.
Ok, I did talk to my basis person and explained more clearly to me.
I'm still going to need the redirect if someone decides to just leave the browser open and forgets about it, they would still get the error 400 the session has timed out. I would rather, them be redirect to the home page of the site they are browsing instead of seeing the SAP default error page.
Ok, I've found these documents but I'm still confused on where the "error" folder for my custom error pages should exist.
http://help.sap.com/saphelp_nw04s/helpdata/en/f6/3c0b0389cea34ba66f10d62b718a1a/frameset.htm
Right now in my dispatcher .pfl file i've set up this:
SAP Error Page Handling
icm/HTTP/error_templ_path=./S2/errors
The directory that I'm having it respond to is on the same machine as the dispatcher, is this correct?
Also the pages that I've set up are:
ICMERR-EMAINTENANCE.html
ICMERR-ETIMEOUT.html
I turned the Dispatchers maintenance mode on but it still seems to be pulling the default maintenance mode html page.
Am I doing this correctly?
**UPDATE.
I've got it to work for the "Maintenance Page" but how about for the SAP Web Application Server's "400 Session timed out - please log in again?" Does the code above control that too?
If the ICMERR is checkint for ETIMEOUT, is it checking for the TIMEOUT in the SICF service or something else?
Edited by: VatHB on Sep 9, 2008 3:55 PM
The timeout screen that I see can be seen at this link.
http://help.sap.com/saphelp_nw04s/helpdata/en/f6/3c0b0389cea34ba66f10d62b718a1a/frameset.htm
I've created two custom files called ICMERR-ETIMEOUT.html and ICMERR-ENOSESSION.html, but they are not catching this session timeout.
The only one I could get to work was ICMERR-EMAINTENANCE.html when I put the dispatcher in Maintenance mode.
Does anyone have experience with this, that could help me?
Ok, I've looked in SE80 > Internet Services > System > Theme DM > HTML Templates > INVALIDSESSION. When I check to see what's within the templates, it's nothing like what's showing up on the screen. Am I looking in the wrong place?
Here's what's in the template:
`if ( ~xmltype == "WML" )`
You have tried to use a WAP session that has already been terminated.
You should restart your session.
`else`
Invalid Session
You have tried to use a WWW session that has already been terminated.
You should restart your session. If the problem persists you should
close your World Wide Web browser and open it again.
`end`
User | Count |
---|---|
77 | |
9 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.