cancel
Showing results for 
Search instead for 
Did you mean: 

Handling Session Object in WebDynpro Java

Former Member
0 Kudos

*After Validation in WebDynpro Component, if the user is not authorized to access the page, i want to close the session of that Particular login user and sent back to the login page (home page)*

  • i don't want to close the window

  • come out of the application to the login page

In Java, i can get session object by request.getSession(true);

in webDynpro how can i get the Session Object.

Thanks

NSM

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

You can use WDClientUser.forcedLogOff(<url to your login page>);

Regards,

Murtuza

Former Member
0 Kudos

Hi,

try to use the following method


WDClientUser user;
	 user.forceLoggedInClientUser()

Regards

Ayyapparaj

0 Kudos

In an enterprise portal context this question will probably not arise since you should be giving access to the WebDynpro via portal roles.

Will you be using your WebDynpro application in a purely WAS context or in an enterprise portal?

regards

Dirk