<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 1, 2015 at 9:16 AM, Johan Brichau <span dir="ltr">&lt;<a href="mailto:johan@inceptive.be" target="_blank">johan@inceptive.be</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Mariano,<div><br></div><div>Did you try implementing that with the #updateUrl: on your app component?</div><div><br></div></div></blockquote><div><br></div><div>Hi Johan,</div><div><br></div><div>Thanks for the idea. At the end, I also needed a component for when a user was authenticated directly from &quot;remember me&quot; cookies. You know, a component showing &quot;you will be logged with username XXX, continue or log with another user&quot;. So this component has the side effect of having a callback and hence displaying the _s in the browser URL for the following #call: which was my main app component.  </div><div><br></div><div>Thanks anyway!</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div></div><div>Johan</div><div><br><div><blockquote type="cite"><div><div class="h5"><div>On 29 Sep 2015, at 20:24, Mariano Martinez Peck &lt;<a href="mailto:marianopeck@gmail.com" target="_blank">marianopeck@gmail.com</a>&gt; wrote:</div><br></div></div><div><div><div class="h5"><div dir="ltr">Hi guys, <div><br></div><div>I am adding &quot;Remember Me&quot; kind of feature in my seaside app. I have my root seaside class that implements #initialRequest:. If there was a correct cookie, then I do not even render a login page and instead in the #go: of my root class I directly #call: my main app component. </div><div><br></div><div>The problem I have is that when a user is logged in from a cookie, and my main app component is called (there is no click from the user, no callback) , the _s is not in the browser URL.  And all my main menu and everything from my app is done with ajax. In the past, I found an issue that AJAX callabacks would not trigger #updateRoot:. So...you can click menus, do stuff, and still, no _s in browser URL. This is a problem because a user could, for example, do a CMD+R and then it gets the welcome page again loosing it&#39;s session.</div><div><br></div><div>Of course, as soon as I click a button or something that does a normal callback (not ajax), then the URL gets the _s. But I need to do this from the very beginning. </div><div><br></div><div>Also..the session does answer correct to #url. The problem is about refreshing the browser&#39;s URL. </div><div><br></div><div>So... is there a way I can hack in order to re-render something so that _s is added to the browser URL?  I have an idea in mind but it&#39;s a terrible hack... </div><div><br></div><div>Thanks for any help, </div><div><div><br></div>-- <br><div>Mariano<br><a href="http://marianopeck.wordpress.com/" target="_blank">http://marianopeck.wordpress.com</a><br></div>
</div></div></div></div>
_______________________________________________<br>seaside mailing list<br><a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br></div></blockquote></div><br></div></div><br>_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" rel="noreferrer" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br></div>
</div></div>