Where is the code that generates your Send Message button? I suspect that you have an absolute reference to a file that's where the reference says it is on your laptop but not on the server, so you're sending the user to some blank page, not back to this page.