Forums

ASP

This topic is locked

urgent help

Posted 06 Apr 2002 23:30:55
1
has voted
06 Apr 2002 23:30:55 Jaime Romo posted:
hello all i need urgent help please i have a database with user log in information but there is a field that adminstrators will have a value = to 1 and clientes = to 0
i whant to make a log in page and redirect to clients or administrator pages depending on the 0 or 1 value
how can i do that
thanks a lot


Visit my home page
www.cancuncoral.com

Replies

Replied 07 Apr 2002 12:13:38
07 Apr 2002 12:13:38 Malte Jarr replied:
You will have to make a normal SQL-Querie to identify the user with the fields value in the result.
Then you make a simple If Then...
And call Response.Redirect...

"Mess with the best, die like the rest!", Hackers, Crash Override alias Zero Cool.
I couldn't resist!!!

Reply to this topic