Find Jobs
Hire Freelancers

Cold Fusion (LUCEE) password protect website with applicaption.cfc

$30-250 USD

已完成
已发布超过 6 年前

$30-250 USD

货到付款
I have an old web based application that I had hosted on a legacy Railo server. I want to port this application to a server running LUCEE Lucee 5.2.2.71. The password protection used to run fine with [login to view URL] however i now need to do the same with [login to view URL] so I'm looking for somebody that can help me with this. The old code below. (3 files) [login to view URL], [login to view URL], [login to view URL] [login to view URL] ******************************************* <!--- Create the application ---> <cfapplication name="MyApp" clientmanagement="Yes" sessionmanagement="Yes" sessiontimeout="#CreateTimeSpan(0,0,30,0)#" applicationtimeout="#CreateTimeSpan(0,0,30,0)#" /> <!--- Now define that this user is logged out by default ---> <CFPARAM NAME="[login to view URL]" DEFAULT="false" /> <!--- Now define this user id to zero by default, this will be used later on to access specific information about this user. ---> <CFPARAM NAME="session.XML_ID" DEFAULT="0" /> <cfif [login to view URL] neq "true"> <cfif ListLast(CGI.SCRIPT_NAME, "/") EQ "[login to view URL]"> <cfelseif ListLast(CGI.SCRIPT_NAME, "/") EQ "[login to view URL]"> <cfelse> <!--- this user is not logged in, alert user and redirect to the [login to view URL] page ---> <script> alert("You must login to access this area!"); self.location="[login to view URL]"; </script> </cfif> </cfif> end of [login to view URL] ******************************************* [login to view URL] <center> <br> <br> <br> <br> <form action="[login to view URL]" method="post"> Login: <input type="text" name="firstname" value=""><BR /> Password: <input type="password" name="user_pass" value=""><BR /> <input type="hidden" name="secondname" value=""><BR /> <input type="hidden" name="email" value=""><BR /> <input type="hidden" name="company" value=""><BR /> <input type="submit" name="login_user" value="Log In"><BR /> </form> </center> end of [login to view URL] ********************************************* [login to view URL] <!--- Get all records from the database that match this users credentials ---> <cfquery name="sessionvariables" datasource="whatever"> SELECT * FROM login_admin WHERE firstname = '#firstname#' AND user_pass = '#user_pass#' </cfquery> <cfoutput query="sessionvariables"> <cfset [login to view URL] = '#firstname# #lastname#' /> <cfset [login to view URL] = '#email#' /> <cfset [login to view URL] = '#company#' /> </cfoutput> <cfquery name="qVerify" datasource="whatever"> SELECT XML_ID, firstname, lastname, user_pass, email, company FROM login_admin WHERE firstname = '#firstname#' AND user_pass = '#user_pass#' </cfquery> <cfif [login to view URL]> <!--- This user has logged in correctly, change the value of the [login to view URL] value ---> <cfset [login to view URL] = "True" /> <cfset session.XML_ID = qVerify.XML_ID /> <!--- Now welcome user and redirect to "<strong>[login to view URL]</strong>" ---> <script> alert("Welcome to the Page..."); self.location="[login to view URL]"; </script> <cfelse> <!--- this user did not log in correctly, alert and redirect to the login page ---> <script> alert("Wrong Password... !!!"); self.location="[login to view URL]"; </script> </cfif>
项目 ID: 15089027

关于此项目

1条提案
远程项目
活跃7 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
I suggested a price for rewrite all cfm code. If you posted the complete code of [login to view URL], your problem could be more simple. Habilidades e Experiência Relevantes I work with ColdFulsion for several years. Pré-pagamentos Propostos $222 USD - write three cold fusion code. I would like to receceive the complete [login to view URL] code and the error message.
$50 USD 在4天之内
0.0 (0条评论)
0.0
0.0

关于客户

IRELAND的国旗
dublin, Ireland
5.0
11
付款方式已验证
会员自10月 23, 2011起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。