cancel
Showing results for 
Search instead for 
Did you mean: 

storing variable in session

former_member445109
Active Participant
0 Kudos

Hi All

I want to store the one variable in session and want to retrieve it in an other page which is in an other role, how can i store it in

session ?

please provide the inputs

Regards

Sri

Accepted Solutions (1)

Accepted Solutions (1)

former_member445109
Active Participant
0 Kudos

is there any API available in Webdynpro java for storing the values in session?

Rgds

Sri

Former Member
0 Kudos

Setting the Value using:

WDScopeUtil.put(WDScopeType.CLIENTSESSION_SCOPE, "APP_NAME", appvalue1);

Getting the Value from session:

WDScopeUtil.get(WDScopeType.CLIENTSESSION_SCOPE, "BP_ID");

former_member445109
Active Participant
0 Kudos

Thanks problem resovled.

Regards

sri

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

the easiest way is to store information in context and map that context from both page/controllers.

Jan