BO interfere with each other


Author
Message
Bastian Töpfer
Bastian Töpfer
StrataFrame Beginner (46 reputation)StrataFrame Beginner (46 reputation)StrataFrame Beginner (46 reputation)StrataFrame Beginner (46 reputation)StrataFrame Beginner (46 reputation)StrataFrame Beginner (46 reputation)StrataFrame Beginner (46 reputation)StrataFrame Beginner (46 reputation)StrataFrame Beginner (46 reputation)
Group: Forum Members
Posts: 32, Visits: 107
Hi,

I have a problem with a web from. If i open the web form in a single browser the everything  works perfect. But if i open the same web form in two browser windows (each loading a different row of the BO-table) i get into a mess.

The problem is, that the row of the form that was loaded last is also used as the current row of the first form now. So whenever i postback the first form ( for example to get the form in edit mode) the wrong row of the business object is set for the page and changes are saved to the row of the second form.

I understand this is because the current row is stored with the BO in the ApplicationBasePage. What can i do to make the BO Session and "Browser-Window"- aware?

StrataFrame Team
S
StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
The only way to do that would be to open the second browser through your login window or whatever starting page you have that starts a new session.  Also, you will need to use cookie-less sessions (where the session key is passed back through the query string instead of through a cookie) or the browser will keep all of its windows in the same session.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search