You can include the checking script from all the files in the folder, or you can have just one script that checks the cookie and then does various things based on parameters (thence, the URLs will be like members/onescript.pl?show=secret instead of members/secret.pl; in such a case, do not forget to check that the value of the parameter is valid).