StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



BO interfere with each otherExpand / Collapse
Author
Message
Posted 08/10/2007 5:35:40 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: StrataFrame Users
Last Login: 08/30/2008 7:14:27 AM
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?

Post #10795
Posted 08/10/2007 9:48:48 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 10/21/2008 9:20:58 AM
Posts: 2,685, Visits: 1,887
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.


www.bungie.net
Post #10801
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 7:52am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.125. 13 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.