cancel
Showing results for 
Search instead for 
Did you mean: 

how webdynpro works with multiple users

Former Member
0 Kudos

Hi Friends,

IN webdynpro, I dont see anything calles session management, is it required tomaintain user session inw webdynpro?

suppose 20 users accessing the same application. in that scenario, how context element values are used for different users.

iI mean.. is it that as compoent context is global, so all the user will see the same data?

or, for every user diferent instance will be created to serve?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

The Instance will be created for Every user .It is not required to maintain user session in webdynpro.

Kind Regards.

Mukesh

Former Member
0 Kudos

Thanks Mukesh,

but.. is the component context data applicationlevel data?

if it has application scope, then it will be common for alll the users

Former Member
0 Kudos

Hi,

WD application (and all nested components/controllers) is accessed only by one thread at any given moment of time. If the same application type is running for several users, every user has his/her own application instance.

When controller life cycle is managed by WD, then controller is created on demand (on first use) and stay alive as long, as application is alive (interface controller, component controller, custom controller, component usages, view controller). Optionally, you may declaratively make view controller to stay alive only when view is visible. On the other hand, if you create/destroy component usages manually, then all related controllers of embedded component (interface controller, component controller, and custom/view controllers that have been already incarnated on demand) can be destroyed earlier than application ends.

All these are excerpts from

thread. Go through it.

Regards,

Satyajit.

Former Member
0 Kudos

Which user does a Web Dynpro application use ??? it uses a SAP user to connect to the back end using the JC, or am i wrong?

but does it also use another user for netweaver or something like that?

Answers (1)

Answers (1)

former_member85655
Active Participant
0 Kudos

Hi,

The data would be created only for use at the session. Hence all the data that you have in memory on the context is lost when you terminate the session. Even if I am using the same engine user from 2 different browser windows these would be in different sessions and hence would have their own set of data that dont interfere with one another.

Regards,

Arun

suresh_krishnamoorthy
Active Contributor
0 Kudos

Hi,

The Component Controller Context as being a session, so you can use this to store sessiondata. every user it will create seperate instances.

Regards

Suresh