Gossamer Forum
Home : Products : DBMan : Customization :

Logon Error

Quote Reply
Logon Error
I have the database set up to allow for default login with no password for users and have two logins for administrator and another person who enters records. We can login with the default (no password) just fine, but when we login with username and password, I always get the logon error screen. I'm sure, I'm just using the wrong syntax to call the script. What would be the proper syntax to pull up the more friendly (main) logon screen?
Quote Reply
Re: Logon Error In reply to
If your .cfg file is named default.cfg, just use

http://www.server.com/cgi-bin/db.cgi

If it's anything else, for example, henry.cfg, use

http://www.server.com/cgi-bin/db.cgi?db=henry



------------------
JPD





Quote Reply
Re: Logon Error In reply to
No, I still get the error message.
Go here to see: http://tln.lib.mi.us/~dwinter/cgi-bin/dbman/db.cgi?db=ff

Quote Reply
Re: Logon Error In reply to
I looked at the source of your login error page and I saw

<input type=hidden name="uid" value="ff.pass">

Did you add the "ff.pass" in the login subroutine? Or did you define uid to equal "ff.pass" somewhere?

Wherever you did it, take it out. That's what's causing your problem.


------------------
JPD





Quote Reply
Re: Logon Error In reply to
Yes, that was the problem. I had set the uid value in db.cgi. Everything is coming up correctly now.
Thank for your help.