In your code, u have created a connection object and a recordset object.
You are executing the sql query two times here.
Use either conn.execute(sql) or rst.Open (sql,conn,1)
Here conn.execute will execute ur sql query and the data is being inserted to db and again from recordset object also again it is being executed.
use either connection.execute or recordset object.
I am poor in english, if u find any mistake in explanation...just ignore it
Regards,
Kishan.
//open up the database
DatabasePath="project.mdb";
conn = Server.CreateObject("ADODB.Connection");
conn.Open("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" + Server.MapPath(DatabasePath));
// create new entry
sql = "INSERT INTO bookmarks (user_id, url) " + "Values ('"+user_id+"', '"+url+"');";
//execute statement via a recordset object
rst = Server.CreateObject("ADODB.Recordset");
rst.Open(sql,conn,1);
conn.Execute(sql);
Response.Write("<p>sql = "+sql)