Find Jobs
Hire Freelancers

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

$30-250 USD

Completato
Pubblicato più di 6 anni fa

$30-250 USD

Pagato al completamento
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>
Rif. progetto: 15089027

Info sul progetto

1 proposta
Progetto a distanza
Attivo 7 anni fa

Hai voglia di guadagnare un po'?

I vantaggi delle offerte su Freelancer

Imposta il tuo budget e le scadenze
Fatti pagare per il lavoro svolto
Delinea la tua proposta
La registrazione e le offerte sui lavori sono gratuite
Assegnato a:
Avatar dell'utente
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 in 4 giorni
0,0 (0 valutazioni)
0,0
0,0

Info sul cliente

Bandiera: IRELAND
dublin, Ireland
5,0
11
Metodo di pagamento verificato
Membro dal ott 23, 2011

Verifica del cliente

Grazie! Ti abbiamo inviato tramite email il link per richiedere il tuo bonus gratuito.
Non è stato possibile inviarti l'email. Riprova per piacere.
di utenti registrati di lavori pubblicati
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Caricamento anteprima
Autorizzazione per la geolocalizzazione concessa.
La tua sessione è scaduta ed è stato effettuato il log out. Accedi nuovamente per piacere.