Article 321503

P

Pierre

Hi again,

I need to use database for user name and password.

In my web site i follow all the step on the article 321503
In my web i put a default.asp page that call secure.asp and unsecure.asp
All those are in the root web.
In a sub web name logon i put logon.asp and in
the _private directory i put logon.inc and logon.mdb

Now when i test the logon web:
If i clik the link to the secure page, the logon page loads instead of the
secure page, as it should.

I enter a user name and a password. If they are okay the secure page should
appears
and show me wich user i am.

Instead, i am redirected to an error page (http error 500)

It is like the session("REFERRER") variable was lost.

I am stuck there. Icarefully read and check everything but cant find
anything.

Is there anything else i should do, add some declaration or initialisation
that are not in the article?

Please help!

Pierre
 
R

Ronx

Move logon.mdb into the fpdb folder where FrontPage sets up the
correct permissions for it, and verify the database connection
(Tools->Site Settings - Database tab)
You may also have to move logon.inc out of the _private folder - again
to resolve a possible permissions problem.
Error 500 usually designates a permissions problem on the server, to
verify check the server event logs and server logs.
 
P

Pierre

Should i also move logon.asp to the root web?

My site is not on my server. I access the site with fp2000 via modem:
How and where can i see the event and server logs?
I suppose they are invisibvle now, where can i change that?


I create a fpdb folder and move logon.mdb and .inc there.
Ican see a global.asa file wich contain info about the logon.mdb connexion.
Should i forget everything about the logon subweb?

Best regards,
Pierre


Ronx a écrit dans le message ...
 
R

Ronx

If you are protecting files in a subweb, then everything should be in
that subweb - the database, the logon files, everything - nothing
should be in the website's root folder.

The fpdb folder is for databases - nothing else. So the .inc file
should not be in there.

I would start again with that article, with the subweb open in
FrontPage - but allow FrontPage to import the database into the fpdb
folder, and allow FrontPage to set up a database connection, do not
place it in the _private folder. Similarly with logon.inc - place it
in a folder that is NOT the _private or fpdb folder.
When writing the code for the .asp pages, ensure the paths to the .inc
file and to the database are correct and pointing to where you placed
them.
Logon.asp should be placed in the root of the subweb, not in the root
of the website.

To see the various log files you need access to the server, or ask
your Host what they say.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top