Gossamer Forum
Home : Products : DBMan : Customization :

link right to "view" form without user auth?

Quote Reply
link right to "view" form without user auth?
How would you put a link that would automatically authenticate someone as "guest" and take them to a view form? Thank you.
Quote Reply
Re: link right to "view" form without user auth? In reply to
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