StrataFrame Forum

BO interfere with each other

http://forum.strataframe.net/Topic10795.aspx

By Bastian Töpfer - 8/9/2007

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?

By StrataFrame Team - 8/10/2007

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.