Gossamer Forum
Home : Products : DBMan SQL : Discussion :

umm...here it goes...

Quote Reply
umm...here it goes...
First of all, thanks for all your help. The site is almost done!

Secondly, I'm having a problem so stupid I might get many, many sheshes from this forum...but here it goes!

I've included a "search by keyword" and "by category" on the main page. The problem is that when people log in and try to search that way, it gives me a "expired/invalid session". When I click on "main", THEN it gives me a session number and I'm able to search.

I don't know how to proceed. I've never experienced this problem with dbman - normal version. Can anyone please help?

Here's the site for those who are willing to give it a try.

http://www.paxbrasilis.com/cgi-bin/members/db.cgi

username: guest
password: guest

Thanks a bunch!

Quote Reply
Re: umm...here it goes... In reply to
I believe the problem is with the hidden fields you've added:

Code:

<input type="HIDDEN" name="db" value="db">
<input type="HIDDEN" name="uid" value="">


It should be the following:

Code:

<input type=hidden name="db" value="$db_setup">
<input type=hidden name="uid" value="$db_uid">


in the sub html_login_form routine.

Regards,

Eliot Lee
Quote Reply
Re: umm...here it goes... In reply to
Thanks elliot, but still no luck...I've made those changes ages ago...

When I look at the location bar it still just says ".../db.cgi" and, as expected, I'm unable to search directly from the homepage.

Is there any way to automactically add a session ID for someone who enters the site?

Thanks again:)