In a nutshell, I have a web application that is made up of html and perl/cgi. The perl accesses mysql. When a user brings up the page, they will need to log in. Which is basically the mysql ID and password. The account is verified and a select query is run to display some detail data. From here the user can decide to add/delete/update data which is written to the db. My question is; after I capture the id and password, how can I access the database after my initial query using the same id & password that was entered? The id is needed to do additional database work.