Features:
– Secure, try <script>alert(‘XSS’);</script> etc
– Message area stays at bottom, unless user scrolls up
– Typing a long message expands the text box
– Shift+enter makes a new line, but enter submits the message
– Page loads new messages automagically through the power of ajax
– Username and password implemented to reserve usernames
– All data is stored in an SQL database, in a users table and a messages table
– Only last 30 messages are loaded on page refresh
Responsive Chat Client
Messages: