Hello,<br><br>I know how to handle this with jQuery, See the following method from the jQuery functional tests:<br><br>renderTimeoutOn: html<br>    &quot;Warn the user if an error occurs during an AJAX action (mostly this is a session timeout) and refreshes the current page (causing the default error/expiry handling to kick in).&quot;<br>
<br>    html document addLoadScript: (html jQuery ajaxSetup<br>        onError: (html javascript<br>            alert: &#39;The session has expired.&#39;;<br>            refresh)).<br>            <br>    &quot;An alternative implementation is to trigger a request now and then so that the session never expires:&quot;<br>
    &quot;html document addLoadScript: (html jQuery ajax<br>        callback: [ &#39;the session is active&#39; ]; <br>        interval: 60 seconds)&quot;<br><br>There must be something similar for Scriptaculous.<br><br>Jan.<br>
<br><br><br><div class="gmail_quote">On Wed, Jun 16, 2010 at 8:51 PM, Bob Arning <span dir="ltr">&lt;<a href="mailto:arning@charm.net">arning@charm.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I&#39;ve got a problem with expired sessions. If I have a component like the one below and the session expires, then clicking on the red box does nothing. No error message, no redisplay, nothing that the user can see. What&#39;s a good way to let the user know what&#39;s going on here?<br>

<br>
TIA,<br>
Bob<br>
<br>
&#39;From PharoCore1.0rc1 of 19 October 2009 [Latest update: #10505] on 16 June 2010 at 1:52:05 pm&#39;!<br>
WAComponent subclass: #BobTestComponent<br>
        instanceVariableNames: &#39;&#39;<br>
        classVariableNames: &#39;&#39;<br>
        poolDictionaries: &#39;&#39;<br>
        category: &#39;Bob001&#39;!<br>
<br>
!BobTestComponent methodsFor: &#39;as yet unclassified&#39; stamp: &#39;Bob 6/16/2010 13:51&#39;!<br>
renderContentOn: html<br>
<br>
        | div |<br>
        <br>
        (div := html div)<br>
                style: &#39;height: 44px; width: 65px; background-color: red;&#39;;<br>
                id: &#39;bob001&#39;;<br>
                onClick: (html scriptaculous evaluator<br>
                        callback: [ :script |<br>
                                self replaceIt: script<br>
                        ];<br>
                        return: false);<br>
                with: [html text: &#39;aaa&#39;]<br>
! !<br>
<br>
!BobTestComponent methodsFor: &#39;as yet unclassified&#39; stamp: &#39;Bob 6/16/2010 13:33&#39;!<br>
replaceIt: script<br>
<br>
        script element<br>
                id: &#39;bob001&#39;;<br>
                replace: [ :html |<br>
                        html div<br>
                                style: &#39;height: 44px; width: 65px; background-color: green;&#39;;<br>
                                id: &#39;bob001&#39;;<br>
                                with: [html text: &#39;two&#39;]<br>
                ].<br>
! !<br>
<br>
<br>
_______________________________________________<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>
</blockquote></div><br><br clear="all"><br>-- <br>Jan van de Sandt<br>gsm: +31 (0)6 3039 5998<br>