Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFQUERY -- HELP !!!

Status
Not open for further replies.
Code:
SELECT username, password
FROM table_name
WHERE username=URL.username
      AND password=URL.password

And I usually check to be sure that my parameter was passed to avoid an error incase some accesses the page directly.

Code:
<cfif isDefined(URL.password)>
Do the page
<cfelse>
<cflocation url=&quot;login.cfm&quot;>
DeZiner
Never be afraid to try something new.
Remember that amateurs built the Ark.
Professionals built the Titanic
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top