<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Mariano,<div class=""><br class=""></div><div class="">Did you try implementing that with the #updateUrl: on your app component?</div><div class=""><br class=""></div><div class="">Johan</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 29 Sep 2015, at 20:24, Mariano Martinez Peck &lt;<a href="mailto:marianopeck@gmail.com" class="">marianopeck@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi guys,&nbsp;<div class=""><br class=""></div><div class="">I am adding "Remember Me" 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.&nbsp;</div><div class=""><br class=""></div><div class="">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.&nbsp; 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's session.</div><div class=""><br class=""></div><div class="">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.&nbsp;</div><div class=""><br class=""></div><div class="">Also..the session does answer correct to #url. The problem is about refreshing the browser's URL.&nbsp;</div><div class=""><br class=""></div><div class="">So... is there a way I can hack in order to re-render something so that _s is added to the browser URL?&nbsp; I have an idea in mind but it's a terrible hack...&nbsp;</div><div class=""><br class=""></div><div class="">Thanks for any help,&nbsp;</div><div class=""><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature">Mariano<br class=""><a href="http://marianopeck.wordpress.com/" target="_blank" class="">http://marianopeck.wordpress.com</a><br class=""></div>
</div></div>
_______________________________________________<br class="">seaside mailing list<br class=""><a href="mailto:seaside@lists.squeakfoundation.org" class="">seaside@lists.squeakfoundation.org</a><br class="">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br class=""></div></blockquote></div><br class=""></div></body></html>