Skip to main content
OCLC Support

AutoLoginIPBanner

Learn how to use the AutoLoginIPBanner config.txt directive to specify that a file should be sent to the users who gained access to automatic login in EZproxy.

AutoLoginIPBanner is a position-independent directive that normally appears toward the top of config.txt. AutoLoginIPBanner is used to specify that a file should be sent to the users who gain access to automatic login. For example, can you add a click-through terms of use agreement that will be seen by people who access by automatic login.

AutoLoginIPBanner should be followed by the name of a file that is located in the docs subdirectory. This file must contain HTML similar to this:

<a href="^C">Continue to resource</a>

You can change the "Continue to resource" text depending on your prefer, but the link reference of ^C must appear exactly as shown.

If AutoLoginIPBanner is present in config.txt and a user accesses a starting point URL that allows automatic access based on a AutoLoginIP directive, the user will be sent the specified file first. The user can then click the link to continue on to the resource. EZproxy will only present this banner once per browser session.

Example

AutoLoginIPBanner policy.html

Related directives

 AutoLoginIP, ExcludeIPBanner