After a user logs in, he is directied to to page1.cfm.
From page 1.cfm user can go to page2.cfm and session.page2 is created. From page2.cfm use can go to page3.cfm and session.page3 is created.
Now, if a user times out, let's say in page3.cfm, Coldfusion leave the URL on page3.cfm
After user logins again, user is directed to page3.cfm but gets an error because session.page3 does not exist.
How can I solve this problem ? I would like user to get the URL of page1.cfm after a time out.
Below please find my application.cfc
this.name = "Adminpanel";
this.applicationTimeout = createTimeSpan(0,0,15,0);
this.loginstorage = "session";
this.sessionmanagement = "yes";
this.sessiontimeout = createTimeSpan(0,0,15,0);
this.setClientCookies = "yes";
this.scriptProtect = "all";
this.datasource = "cdmdata";