<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Udo,<br><br><div class="gmail_quote"><div class="im" style="color: rgb(80, 0, 80); ">On Mon, Nov 15, 2010 at 7:11 AM, Udo Schneider <span dir="ltr">&lt;<a href="mailto:udo.schneider@homeaddress.de" target="_blank" style="color: rgb(28, 81, 168); ">udo.schneider@homeaddress.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
Facu,<br><br>you might consider working with 1+n sessions. Use one (shared) session for all the general stuff and 1/session for session specific stuff.<br><br>Another approach is to share a MagmaSession between Seaside sessions until a user logs in. Then you&#39;ll have a MagmaSession per logged-in user.<br>
<br>e.g.<br><br>MySystem&gt;#magmaSession<br>       | seasideMagmaSession |<br>       seasideMagmaSession := WASession current magmaSession.<br>       seasideMagmaSession notNil: [^seasideMagmaSession].<br>       ^self sharedMagmaSession<br>
</blockquote><div><br></div></div><div>Hi have a similar stuff, MySystem &gt;&gt; magmaSession is a session common to all users, shared by all. But if a use an object in that session on a user session a got an error. I need check it again.</div>
<div class="im" style="color: rgb(80, 0, 80); "><div> </div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<br>MyWASession&gt;#magmaSession<br>       ^magmaSession<br><br>MyWASession&gt;#loginUser: aUserName<br>       magmaSession := self createMagmaSessionConnectAs: aUserName<br></blockquote><div><br></div></div><div>Yes, I have this on MyWASession. I don&#39;t know because it&#39;s not working.</div>
<div class="im" style="color: rgb(80, 0, 80); "><div> </div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<br>Hope you get the idea.<br><br>CU,<br><br>Udo</blockquote><div><br></div></div><div>Thank you again,</div><div>Facu</div></div></span>