[web] ColdFusion problem

Started by
-1 comments, last by MrPoopypants 19 years, 3 months ago
I'm having a rather strange problem with my current web application. The user logs in at index.cfm. Their login info is checked at LoginVerification.cfm. If all their info is correct, it automatically redirects them to DoctorPage.cfm. After this the problem starts... On DoctorPage.cfm, there are a number of links. If you click on any of these links it throws an error saying that the user is not logged in. The EXACT same verification code is at the beginning of all the pages (except index and LoginVerification.) But it only works on DoctorPage.cfm. This is my verification code by the way:


<cfapplication name="PatientTracker2" sessionmanagement="yes" setclientcookies="no">

<link href="css_page.css" rel="stylesheet" type="text/css">

<cfif IsDefined("SESSION.Auth.IsLoggedIn") EQ FALSE >
	<cfoutput>
	< p >< b >< big >ERROR - USER NOT LOGGED IN< /big >< /b >< /p >
	< p >< a href="index.cfm" >Return to main page.< /a >< /p >
	</cfoutput>
	<cfabort>
</cfif>
The session variables seem to work for only half the site. Any help would be great, thanks!
(0110101101000110)The Murphy Philosophy: Smile . . . tomorrow will be worse.

This topic is closed to new replies.

Advertisement