LiveWire Web-to-Database Solutions, Part 1

By William Robert Stanek

Dr. Dobb's Sourcebook May/June 1997

<SERVER>
project.lock();
database.connect(client.dbtype, client.server, client.id, client.password, client.database)
if(!database.connected()) {
  redirect("dberror.html");
}
</SERVER>

Example 5: Redirecting the browser when an error occurs.

Back to Article