Allowing Web Access to Select From Multiple Repositories.

November 2, 2004 | KB: 1000781
Web Access 7

Summary

By default Web Access logs into the first repository specified in the Laserfiche Web Products Administrator's Utility. When hosting multiple Laserfiche repositories, there are two methods to specify which repository Web Access should use.

Resolution 1

Specify the repository you wish to use in the Web Access URL. In the Laserfiche Web Products Administrator's Utility, each repository is associated with a dbid value. Specify the dbid value in the Web Access URL to access that repository. For example, to specify the third repository listed in the Laserfiche Web Products Administrator's Utility, you could use the following URL:

http://localhost/Laserfiche/?dbid=2

Reminder: Web Access uses a 0-based index so the first repository has a dbid of 0.

Resolution 2

When hosting multiple Laserfiche repositories, you may allow the user to select the Laserfiche repository that will be opened. We provide an alternate ASP (LoginAlt.asp) that will prompt the user to select a Laserfiche repository and specify the user account through which a connection will be established. This page can be used by renaming LoginAlt.asp to Login.asp. This will require that you rename your existing Login.asp. Your ASP pages can be found in the ASPs folder under your Web Access installation folder (by default, C:\Program Files\Laserfiche\Web Access).

Note: If you would like users to select the Laserfiche repository to which they will log in using the alternate login ASP, then we recommend that user account information not be set for any of your repository configurations. Otherwise, the Login ASP may be bypassed causing the user to be immediately logged into a database.