Validating user from database/wizard

E

Emmett Power

Hi,

I have a simple user registration/login database on my FP2002 web. I
have the usual registration page which works fine and populates the
database. This supplies data to cookies which, again, works fine.

The problem comes with validating the data on the login page from the
database.

I have tried various non-database wizard solutions using connection
objects but keep coming up against problems recognising the DSN. I
have tried various workarounds to this with no luck.

I am wondering if it is possible to use the database wizard to set up
the connection, check the login data against the database and then
using Response.Redirect according to the data entered.

Is this possible? If so can anybody point me to code samples to look
at.

Thanks for any help.

Regards

Emmett Power
 
S

Stephen Travis

Sure. Just add the response.redirect inside the DRW and it will only ge executed it the query returns a record. You should also add
a response.buffer true to the top of the page to supress the page until it completes.
 
E

Emmett Power

Stephen,

Thanks for the help.

Regards


Emmett

Stephen Travis said:
Sure. Just add the response.redirect inside the DRW and it will only ge executed it the query returns a record. You should also add
a response.buffer true to the top of the page to supress the page until it completes.
 

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