Can someone help me
I have two frames, left one shows links, right one shows output. When I click login link in the left, a login page is coming up and I use username and password and login the page. When I click again login link in left, this time login page is not coming up, It is going to direct to the page. What can be wrong: here is the code:
Application.cfm
---------------
<CFSET DataSource = "Ana">
<CFSET CompanyName = "Anakara">
<!--- Name our app, and enable Session variables --->
<CFAPPLICATION
NAME="Anakara"
SESSIONMANAGEMENT="Yes"
setclientcookies="no"
sessiontimeout="#CreateTimeSpan(0,0,0,0)#"
applicationtimeout="#CreateTimeSpan(0,0,0,0)#">
<!--- If user is not logged in, force them to now --->
<CFIF NOT IsDefined("SESSION.Auth.IsLoggedIn"
>
<CFINCLUDE TEMPLATE="LoginForm1.cfm">
<CFABORT>
</CFIF>
-----------------------------------------------
I have two frames, left one shows links, right one shows output. When I click login link in the left, a login page is coming up and I use username and password and login the page. When I click again login link in left, this time login page is not coming up, It is going to direct to the page. What can be wrong: here is the code:
Application.cfm
---------------
<CFSET DataSource = "Ana">
<CFSET CompanyName = "Anakara">
<!--- Name our app, and enable Session variables --->
<CFAPPLICATION
NAME="Anakara"
SESSIONMANAGEMENT="Yes"
setclientcookies="no"
sessiontimeout="#CreateTimeSpan(0,0,0,0)#"
applicationtimeout="#CreateTimeSpan(0,0,0,0)#">
<!--- If user is not logged in, force them to now --->
<CFIF NOT IsDefined("SESSION.Auth.IsLoggedIn"

<CFINCLUDE TEMPLATE="LoginForm1.cfm">
<CFABORT>
</CFIF>
-----------------------------------------------