Re: [ACFUG Discuss] Wierder still...
I am not sure of this, but why do you have the word debug after your datasource name? On Sat, Mar 8, 2008 at 1:20 PM, Peyton Todd [EMAIL PROTECTED] wrote: I just tried the site from home, where I am now, and it got past where it was bombing. It hit another bomb - due to a typo I'm about to go in to work to fix - but why should it work over the web from outside the office when it doesn't work from the server itself (both localhost and keying in the full acrga2.com/Reporters/ReporterLogin.cfm url)? - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserformhttp://www.acfug.org/?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - -- Regina Stevens _ Intranet and Internet ColdFusion Applications Developer - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: [ACFUG Discuss] Wierder still...
Because ColdFusion error messages tell me I'll get more explicit error info if I do that. In practice that proves to be true only sometimes, though in fact this is a case in which it does prove true.-Original Message- From: "Regina S." <[EMAIL PROTECTED]> Sent: Mar 9, 2008 5:41 AM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] Wierder still... I am not sure of this, but why do you have the word debug after your datasource name? On Sat, Mar 8, 2008 at 1:20 PM, Peyton Todd [EMAIL PROTECTED] wrote: I just tried the site from home, where I am now, and it got past where it was bombing. It hit another bomb - due to a typo I'm about to go in to work to fix - but why should it work over the web from outside the office when it doesn't work from the server itself (both localhost and keying in the full acrga2.com/Reporters/ReporterLogin.cfm url)? -Annual Sponsor FigLeaf Software - http://www.figleaf.comTo unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserformFor more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/List hosted by http://www.fusionlink.com --- Regina Stevens_Intranet and Internet ColdFusion Applications Developer - Annual Sponsor - Figleaf Software To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -Annual Sponsor FigLeaf Software - http://www.figleaf.comTo unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserformFor more info, see http://www.acfug.org/mailinglistsArchive @ http://www.mail-archive.com/discussion%40acfug.org/List hosted by http://www.fusionlink.com-
Re: [ACFUG Discuss] Wierder still...
They do? I don't remember this. Where do you see this in the error messages? Peyton Todd wrote: Because ColdFusion error messages tell me I'll get more explicit error info if I do that. In practice that proves to be true only sometimes, though in fact this is a case in which it does prove true. -Original Message- From: Regina S. Sent: Mar 9, 2008 5:41 AM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] Wierder still... I am not sure of this, but why do you have the word debug after your datasource name? On Sat, Mar 8, 2008 at 1:20 PM, Peyton Todd [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I just tried the site from home, where I am now, and it got past where it was bombing. It hit another bomb - due to a typo I'm about to go in to work to fix - but why should it work over the web from outside the office when it doesn't work from the server itself (both localhost and keying in the full acrga2.com/Reporters/ReporterLogin.cfm http://acrga2.com/Reporters/ReporterLogin.cfm url)? - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: [ACFUG Discuss] Wierder still...
It's when the CF error message is in a Javascript window - I haven't paid attention, but I suppose it must be when you're doing Ajax, since at what other time would CF be complaining in a Javascript window? -Original Message- From: Howard Fore [EMAIL PROTECTED] Sent: Mar 9, 2008 3:33 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] Wierder still... They do? I don't remember this. Where do you see this in the error messages? Peyton Todd wrote: Because ColdFusion error messages tell me I'll get more explicit error info if I do that. In practice that proves to be true only sometimes, though in fact this is a case in which it does prove true. -Original Message- From: Regina S. Sent: Mar 9, 2008 5:41 AM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] Wierder still... I am not sure of this, but why do you have the word debug after your datasource name? On Sat, Mar 8, 2008 at 1:20 PM, Peyton Todd [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I just tried the site from home, where I am now, and it got past where it was bombing. It hit another bomb - due to a typo I'm about to go in to work to fix - but why should it work over the web from outside the office when it doesn't work from the server itself (both localhost and keying in the full acrga2.com/Reporters/ReporterLogin.cfm http://acrga2.com/Reporters/ReporterLogin.cfm url)? - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
[ACFUG Discuss] Rip Van Winkle's Memory Fails
I think I used to know how to do this one, but I no longer remember... When your application times out, you can send the user back to the login page with code like the following: cfif not Session.LoggedIn cfif cgi.script_name is not '/Login.cfm' cflocation url='/Login.cfm' /cfif /cfif But suppose this happens just when the user is opening a nested window, and the login page opens in that window. How do you close the nested window automatically and force the login page to open in the main browser window instead? I thought something like the following, placed in Login.cfm, would work: script if (window != top){ top.location.href='Login.cfm'; window.close(); } /script or maybe something like this: script if (window != parent){ parent.location.href='Login.cfm'; window.close(); } /script My memory says it was something like the above. But evidently 'top' and 'parent' have to do with frames. In any case, the above attempts do not do the job. How is this done? Thanks, Rip - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: [ACFUG Discuss] Rip Van Winkle's Memory Fails
cfsavecontent variable=headerStuff cfoutput script type=text/javascript var isStillValid = #SESSION.loggedIn#; // Assuming you have a Boolean var function checkStatus(){ if(!isStillValid){ window.close(); } } checkStatus(); /script /cfoutput /cfsavecontent cfhtmlhead text=#headerStuff# - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: [ACFUG Discuss] Rip Van Winkle's Memory Fails
Thanks, Darin, but I don't understand how to use this code. If I put it in the page which loads into the nested window, it never gets executed since the code in Application.cfm intercepts that page before it gets loaded, namely, the code below: cfif not Session.LoggedIn cfif cgi.script_name is not '/Login.cfm' cflocation url='/Login.cfm' /cfif /cfif If I put it in the Login.cfm page, I would expect your code to simply close the window, and leave the user still in the page he tried to go to the nested page from. In any case when I do put it in the Login.cfm page (at the beginning - should I put it somewhere else?), it has no effect. I still get the Login.cfm page opening in the nested window... Peyton -Original Message- From: Darin Kohles [EMAIL PROTECTED] Sent: Mar 9, 2008 6:07 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] Rip Van Winkle's Memory Fails cfsavecontent variable=headerStuff cfoutput script type=text/javascript var isStillValid = #SESSION.loggedIn#; // Assuming you have a Boolean var function checkStatus(){ if(!isStillValid){ window.close(); } } checkStatus(); /script /cfoutput /cfsavecontent cfhtmlhead text=#headerStuff# - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: [ACFUG Discuss] Rip Van Winkle's Memory Fails
If I put it in the Application.cfm page, that doesn't help either... -Original Message- From: Darin Kohles [EMAIL PROTECTED] Sent: Mar 9, 2008 6:07 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] Rip Van Winkle's Memory Fails cfsavecontent variable=headerStuff cfoutput script type=text/javascript var isStillValid = #SESSION.loggedIn#; // Assuming you have a Boolean var function checkStatus(){ if(!isStillValid){ window.close(); } } checkStatus(); /script /cfoutput /cfsavecontent cfhtmlhead text=#headerStuff# - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -