how does web server communicate with database server