cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Session Expiring

Former Member
0 Kudos

Hai,

I am using application variable Session expire to 10000 milliseconds,

If the session expires it shows a page is not good looking can i change it to custom page(like errorPage in jsp).

regards,

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Naga,

Technically, WD implemented as servlet.

You may run Visual Administrator, expand nodes to Server / Service / Web Container, and select Web Container / "sap.com/tcwddispwda" / "webdynpro/dispatcher" application. Select application and click "View" at right. Then switch to "Pages" tab in applications properties.

Seems that error page could be defined here. However, never try to do this myself.

VS

Former Member
0 Kudos

Hi Valery,

Thanks for kind help.

can i change that without using visualadmin. i mean programatically.

regards,

Former Member
0 Kudos

Naga,

Not exactly the same, but possible:

You may create exit plug in your window interface view with parameter "Url" (note the case) of type string.

Next you have to place critical blocks in try/catch exception handler and navigate to exit plug.

This is not so flexible as one error page for J2EE application, but J2EE spec itself does not mandate programatical change of error page, and SAP WebAS seems to have no vendor-specific workaround.

VS

Former Member
0 Kudos

Hai Valery,

I did it in wdDoExit() method. its working fine.

Thanks Alot for your help.

regards,

Former Member
0 Kudos

Hi Naga;

I have same problem. How can i use wdDoExit() to solve this. Please help

Former Member
0 Kudos

Naga,

Can you post your solution for this? As I guess this is a fairly common requirement and it would help many ppl (including me ).

Best Regard

Amit