| Author |
Transaction Problem
|
Srilakshmi Vara
Ranch Hand
Joined: Jul 21, 2004
Posts: 169
|
|
Hi All, Thanks for giving suggestions, I dont know whether this forum is right forum for this question. May be this question design related. I have a problem i have a jsp which is displaying list of records as hyperlinks, Each hyperlink displays all the data related to the record in a popup window, Now i need to let only one user to view the popup window at a time, if one user is viewing the record i should not allow any other to view the same record instead need to display a message that the record is already viewed by another user. Any suggestions will be appreciated. Thanks, Srilakshmi
|
 |
Srilakshmi Vara
Ranch Hand
Joined: Jul 21, 2004
Posts: 169
|
|
More Information: I need to lock a record with a user in a web application. I am not using EJBs
|
 |
Srilakshmi Vara
Ranch Hand
Joined: Jul 21, 2004
Posts: 169
|
|
|
I am waiting :-(
|
 |
Ram kovis
Ranch Hand
Joined: Jun 23, 2005
Posts: 130
|
|
keep some flag in applicaiton context and chnage it accrondingly when you open the window and close the window. for every user, first get this flag from applcation context, and verify it. If "windowOpenedFlag="Y", then do not allow that user. else open the window. When the user closes the window, set the Flag value to "N" or space. HTH
|
 |
Srilakshmi Vara
Ranch Hand
Joined: Jul 21, 2004
Posts: 169
|
|
|
Thanks Ram, Any other solutions please...
|
 |
 |
|
|
subject: Transaction Problem
|
|
|