<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style='font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;'>In my rootTask logout I do:<br><br>&nbsp;&nbsp;&nbsp; self session<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp; ....<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; logout.<br><br>And in the logout method of my session class, I do some cleanup and a redirect:<br><br><br>&nbsp;&nbsp;&nbsp; self redirectTo:"the URL of my site".<br><br><br><div id="1"><br>---- On Sat, 14 Dec 2013 07:34:05 -0800 <b>Esteban A. Maringolo&lt;emaringolo@gmail.com&gt;</b> wrote ---- <br></div><br><blockquote style="border-left: 1px solid #0000FF; padding-left: 6px; margin:0 0 0 5px">I implemented the workflow of my app as WATask (SessionTask) installed <br>in /app which basically does the following: <br> <br>go <br>| login | <br>login := self call: LoginComponent new. <br>login isValid ifTrue: [self call: MainComponent new]. <br>self session unregister. <br> <br>then in MainComponent I implemented a #logout method which basically does: <br> <br>logout <br>^self answer <br> <br>This way I get the session termination (if the user goes back and <br>performs an action it will be redirected to a blank session). <br> <br>The problem is the last unregister in WATask redirects the user to the <br>root of the server. <br>If I unregister the session in the #logout method the result is the same. <br> <br>In the past I'd implement this by means of an #isolate: call to my <br>,ain component, but how I'm supposed to do this now? <br> <br>Regards, <br> <br>Esteban A. Maringolo <br>_______________________________________________ <br>seaside mailing list <br><a subj="" mailid="seaside%40lists.squeakfoundation.org" 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></blockquote><br></div></body></html>