logo

New Response

« Return to the blog entry

You are replying to:

    • avatar
    • nick wall
    • Posted on Wed 8 Oct 2008 04:00 AM

    I implemeted an AJAX login for my app having read your last article...so thanks!

    Your method of checking the cookie is much more elegant than mine.

    My AJAX login POSTs a login request, onSuccess I then POST a ?CreateDocument, which does a simple XML print back, and if the value is ON, we're logged in, if not, we're not! But I was very unhappy with this extra ?CreateDocument.

    My forms rely heavily on AJAX, so if the session gets dropped, the form does not work correctly, but the user may not notice that specific fields, etc. are not loading correctly, I currently do something that has a completely unnecessary overhead, I check every x secs whether you are connected...his has issues, which I won't go into here. If the session has been dropped, my modal AJAX login form pops up. But there is of course, a much more elegant solution:

    Link

    Incorporating your cookie technique and the ajax cache, I think will take care of these issues very nicely.

    Good work Jake.

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: