cancel
Showing results for 
Search instead for 
Did you mean: 

Scope of TransientAttribute of IUser

former_member182374
Active Contributor
0 Kudos

Hello Support,

I need to save some parameters during the user session.

I'm aware of WDScopeUtil, Portal Eventing etc but I want to use TransientAttribute of IUser.

What is the scope of a transient attribute? is it session scope?

Regards,

Omri

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182372
Active Contributor
0 Kudos

self PR

Transient attributes didn't work, so I had to "invent" a wheel again

former_member182374
Active Contributor
0 Kudos

Hi Maksim,

Thanks, as always (-:

I'll look into the solution.

It's really sad that one should invent the wheel for saving parameters in session when dealing with web applications.

From WDScopeUtil javadoc:

Users must not rely on objects being available within the scope

Regards,

Omri

former_member182372
Active Contributor
0 Kudos

Why don't use old good http session?

former_member182374
Active Contributor
0 Kudos

Hi,

I wish I could but HttpSession isn't available in 7.00 SP21/SP22. (TaskBinder etc).

Regards,

Omri