Security
Security
Security
State and Sessions
HTTP connections do not rely on or affect prior or subsequent connections.
Webmail needs to store username, password, folder, etc.
Use a combination of cookies and a database to store state.