cancel
Showing results for 
Search instead for 
Did you mean: 

Session management in webdynpro application.

Former Member
0 Kudos

Hi all,

In my application I am using WDScopeUtil API to maintain session. But I am loosing this session info once i navigate away from this page or application in portal. I need to maintain this session info between user login and logoff. And also the entire context of my application gets refreshed when i navigate away from my application in portal. Is there any way I can store this info(Context content) in session between user login and logoff.

Any pointers on this would be of great help.

Thanks and Regards,

Vishwa

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

There is a View property called lifespan - "Framework_controlled"

Try this property, see if this helps your purpose.

Former Member
0 Kudos

Hi Saurabh,

Thanks for your replay. Actually the lifespan property for all the views is by default set to "Framework_Controlled". Even then i am unable to maintain the session info as mentioned in my query. Is there any setting i am still missing or the piece of code I have to add.

Please correct me if I am wrong.

Thanks and Regards,

Vishweshwara P.K.M

former_member192152
Active Participant
0 Kudos

Try using Suspendable Plugs, however, you can not keep the session if the user clicks on another Role. This will require you to implement some means of persistent data (such as the use of EJBs statefull - which will save all information from the context of the application to reload when it is started again).

[How to Realize Suspendable Web Dynpro Java Applications Within the SAP NetWeaver Portal|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/102ed591-62a6-2910-94ac-e6038ef7b76e]

[How to use Web Dynpro Java Suspend Resume Plugs to integrate with non-Web Dynpro web applications|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a08c287b-96a5-2a10-a691-b8b8bc40ea43]

regards,

Angelo

Answers (0)