coldfusion - Database migration issue -
my application supposed migrate new database. changed application.cfm set new password. nothing else. asked admin update dsn info , provided dsn entry details, says has updated.
next tried log application. entering incorrect login/password giving expected error message. if login successful, instead of going welcome page showing:
"internet explorer cannot display webpage"
one issue admin told : "the site appears looping continuously until bombs out"
can please me figure out going wrong here? issues login cookies? should start investigating?
thanks in advance
code snippet here :
<cfparam name="dest" default="#desturl#"> <cfparam name="url.sfx" default=""> <cfif not isdefined("cookie.essec")> <cfset client.status="cookie not set"> <cfinclude template="deleteclientvars.cfm"> <cfmodule name=cspauth environment="prod" returnurl="#returnurl#" logoutreturnurl="#logoutreturnurl#"> <cfelse> <script>alert("cookie.esse defined.");</script> <cfif isdefined("client.dest")> <cfset dest = client.dest> </cfif> <!--- if required cookie set global login page set require var---> <cfif not isdefined("client.userid")> <script>alert("client.userid not defined.");</script> <cfinclude template="deleteclientvars.cfm"> <cfmodule name=cspauth environment="prod" returnurl="#returnurl#" logoutreturnurl="#logoutreturnurl#"> <cfset upperuserid = ucase(uid)> <!--- query matching user id ---> <cfquery name="qrygetuser" datasource="#dsn#" username="#dbid#" password="#dbpw#"> select usd_uid, usd_access_type, usd_terminated_dt, usd_last_login_dt, usd_last_logout_dt #tableowner#.user_data (usd_uid = '#upperuserid#') </cfquery>
Comments
Post a Comment