• Timeout

    By Andrew J Reeve 1 decade ago

    Hi

    I noticed an issue with the custom login control.

    If you sign in successfully, but allow your session to timeout the DomAuthSessId cookie is still in your browser. Therefore when you attempt to sign in again the Login successful message is shown without checking the results of the login attempt.

    I added an extra line to my login function which expires the DomAuthSessId cookie

    --> dojo.cookie('DomAuthSessId', '', {path:'/', expires:-1});

    just before the line

    --> dojo.xhrPost({

    which seems to fix the issue.