shoesims
Your login event is duplicating the ajax login call.
Basically you have the system making an ajax request each time the ajax request is completed causing it to endlessly loop.
(ie) Run ajax request -> on completed -> run ajax request -> on completed...
and on and on until infinity.
Remove the second Ajax request under the event On Login Completed. ( Ajax -> http://localhost/avibppt/test/login.php?username="& UsernameTxt2.Text & "&password=" & PasswordTxt2.Text)