DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   ColdFusion (http://www.daniweb.com/forums/forum19.html)
-   -   Assistance (http://www.daniweb.com/forums/thread37750.html)

Metro Jan 8th, 2006 4:50 pm
Assistance
 
Hi I was wondering if someone can add me to msn s_a_w_2@hotmail.com and help me with a problem I have doing a small cf project. I have a few questions and my project I would like to show you so someone can give me feedback etc.
If anyone could help then it would be excellent.

Thanks in advance.

Metro Jan 13th, 2006 4:55 pm
Re: Assistance
 
Ok so I manage to do the login but how do I manage to create the cookie or session and also display the wrong password part?

Check if the user is logged in
If the user is logged in then
Forward him to page
Else

Check if form.submit exists
If ^ exists then

(Check if form.userid and form.pass exists in db
If they don’t then
WRONG PASSWORD!!!!

Else set cookie or session id
Forward the user to this page
Else
Print login form


All times are GMT -4. The time now is 10:14 am.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC