Randy,
http://www.ajaxtoolbox.com/
Will give you the same benefits, with an added one. Its free and it's
author post in this very newsgroup.
Thanks for the suggestion -- it does looks good but more of JS instead
of PHP/JS implementation.
I disagree but it's irrelevant.
Tell this google whose AJAX authentication you use to sign in to post
in this newsgroup

Again, nothing is secure.
Internet Explorer isn't a good base reference for what works on the web
though.
If the script returns history.go(0) then it should refresh the browser.
If you don't want the page refreshed (which is what SAJAX's main selling
point appeared to me to be) then don't. Just set the
document.location.hash property. Not sure what your purpose of using the
hash is for though :\
Here is how my script functions:
Everything within a restricted zone is filtered through index.php that
checks for a registered session. If none is found, it feeds you a login
page (mind you, the URL does not change: so, if you initially opened
http://xxx.com/yy/ then that's where you will get the login). As you
type your password, it is automatically checked by the server script
(AJAX method) against the correct one in the DB. If the password
matches, the server script registers the session and returns
"history.go" to the the browser. If the page is now refreshed, whatever
it is that you initially requested will be fed to you.
I do understand that eval() is not the preferred method, but I do not
know any better method since if I return a JS code in my dynamic
content (by changing DIV's innerHTML), it is not automatically
executed. And all I need to do is to refresh my page. I can return a
var "security = OK" (or some other response) or I can return that
"history()" and run eval on it.
Cheers.