heehee, dear john....just a bit of comic relief there.....heehee..sorry....:)
-----Original Message----- From: sanjay sidar [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 09, 2004 9:51 AM To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] login tutorial Dear john, im not sure, but i think that may be the problem, i am a complete beginner in cf, im refering to a tutorial http://tutorial8.easycfm.com/, and i have tried to follow everything written in there but it doesnt seem to work sanjay >From: John Beynon <[EMAIL PROTECTED]> >Reply-To: <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: RE: [ cf-dev ] login tutorial >Date: Tue, 9 Mar 2004 14:43:26 -0000 > >Is the query showing any records returned in the debug output? That's >probably where the problem is if nothing is being displayed, > >Jb. > >-----Original Message----- >From: sanjay sidar [mailto:[EMAIL PROTECTED] >Sent: 09 March 2004 14:46 >To: [EMAIL PROTECTED] >Subject: RE: [ cf-dev ] login tutorial > >hey guys i have this code copied from: http://tutorial8.easycfm.com/ > >and i cant seem to get anything displayed, would anyone be able to tell me >whats wrong > ><cfquery name="qVerify" datasource="userLogin"> > SELECT user_name, user_pass > FROM tblAdmins > WHERE user_name = '#user_name#' > AND user_pass = '#user_pass#' ></cfquery> > ><cfif qVerify.RecordCount> > <!--- This user has logged in correctly, change the value of the >session.allowin value ---> > <cfset session.allowin = "True"> > <!--- Now welcome user and redirect to "members_only.cfm" ---> > <script> > alert("Welcome user, you have been successfully logged in!"); > self.location="/members_only.cfm"; > </script> >< cfelse> > <!--- this user did not log in correctly, alert and redirect to the >login page ---> > <script> > alert("Your credentials could not be verified, please try >again!!!"); > self.location="Javascript:history.go(-1)"; > </script> ></cfif> > >_________________________________________________________________ >Use MSN Messenger to send music and pics to your friends >http://www.msn.co.uk/messenger > > >-- >These lists are syncronised with the CFDeveloper forum at >http://forum.cfdeveloper.co.uk/ >Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > >CFDeveloper Sponsors and contributors:- >*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided >by activepdf.com* > *Forums provided by fusetalk.com* :: *ProWorkFlow provided by >proworkflow.com* > *Tutorials provided by helmguru.com* :: *Lists hosted by >gradwell.com* > >To unsubscribe, e-mail: [EMAIL PROTECTED] > > >_____________________________________________________________________ >This e-mail has been scanned for viruses by MCI's Internet Managed Scanning >Services - powered by MessageLabs. For further information visit >http://www.mci.com > > >********************************************************************** >Copyright ERA Technology Ltd. 2004. (www.era.co.uk). All rights reserved. >The information supplied in this Commercial Communication should be treated >in confidence. >No liability whatsoever is accepted for any loss or damage >suffered as a result of accessing this message or any attachments. >********************************************************************** > > > >_____________________________________________________________________ >This e-mail has been scanned for viruses by MCI's Internet Managed Scanning >Services - powered by MessageLabs. For further information visit >http://www.mci.com _________________________________________________________________ Stay in touch with absent friends - get MSN Messenger http://www.msn.co.uk/messenger -- These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ CFDeveloper Sponsors and contributors:- *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by activepdf.com* *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com* *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com* To unsubscribe, e-mail: [EMAIL PROTECTED] -- These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ CFDeveloper Sponsors and contributors:- *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by activepdf.com* *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com* *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com* To unsubscribe, e-mail: [EMAIL PROTECTED]
