Updating database in the background or from within Flash?

Is there any way to update a database in the background. I just followed the tutorial for using flash, asp and Access together but it involves opening an external update page.

Is there some way you can insert record into a database from Flash only?

If one has to use an ASP page, can that one be closed automatically, without any user involvement?