How would you put a link that would automatically authenticate someone as "guest" and take them to a view form? Thank you.
Jul 9, 1999, 8:01 AM
Veteran / Moderator (8669 posts)
Jul 9, 1999, 8:01 AM
Post #2 of 2
Views: 1175
In your .cfg file, you would set
$auth_allow_default = 1;
@auth_default_permissions = (1,0,0,0,0);
$auth_view_own = 0;
Then, on your html page, use
http://www.server.com/cgi-bin/db.cgi?db=default&uid=default&view_search=1
If your .cfg file is not named "default.cfg" then you'll need to change db=default to match the name of your .cfg file.
------------------
JPD
$auth_allow_default = 1;
@auth_default_permissions = (1,0,0,0,0);
$auth_view_own = 0;
Then, on your html page, use
http://www.server.com/cgi-bin/db.cgi?db=default&uid=default&view_search=1
If your .cfg file is not named "default.cfg" then you'll need to change db=default to match the name of your .cfg file.
------------------
JPD