RE: [ACFUG Discuss] Destroy An Object

2008-07-03 Thread Clarke Bishop
Thanks Cameron and Dean. The structDelete was what I was looking for! But Cameron, you made me think of another question when you mentioned calling init() on your user object. When do you create it? At the start of a session? Thanks again, Clarke -Original Message- From: [EMAIL

Re: [ACFUG Discuss] Destroy An Object

2008-07-03 Thread Cameron Childress
On Thu, Jul 3, 2008 at 7:52 AM, Clarke Bishop [EMAIL PROTECTED] wrote: But Cameron, you made me think of another question when you mentioned calling init() on your user object. When do you create it? At the start of a session? It depends on the site's requirements to scale. On an internal

Re: [ACFUG Discuss] Problem serving xls file on CF8

2008-07-03 Thread Steven Ross
Your 100% certain that the the owner of the excel files is the same as the user that apache/CF is running under? that was my first thought... On Wed, Jul 2, 2008 at 9:17 AM, [EMAIL PROTECTED] wrote: I've got an application that's been running for years on CF6 and a year on CF7 is choking in a

Re: [ACFUG Discuss] Problem serving xls file on CF8

2008-07-03 Thread Cameron Childress
On Thu, Jul 3, 2008 at 9:41 AM, Steven Ross [EMAIL PROTECTED] wrote: Your 100% certain that the the owner of the excel files is the same as the user that apache/CF is running under? Yup - mine too... The file permissions may be the same, but what about CF's user? CF8 might be running as a

Re: [ACFUG Discuss] Problem serving xls file on CF8

2008-07-03 Thread Steven Ross
You probably know this already but, for anyone else out there that may find this useful. ps -ex | grep 'cfusion' (i think on solaris, use -ef on mac/linux) -Steven On Thu, Jul 3, 2008 at 9:48 AM, Cameron Childress [EMAIL PROTECTED] wrote: On Thu, Jul 3, 2008 at 9:41 AM, Steven Ross [EMAIL

[ACFUG Discuss] Cookies/Sessions when opening a new window in tabbed browsers

2008-07-03 Thread Bruce Hodgdon
Is there any way to force a new session, if a user opens a new tab then goes to the same app that is in the first window? We use the pretty standard cfapplication that allows cookies and session management. I have found that sometimes users will open a new tab and go to the same

Re: [ACFUG Discuss] Cookies/Sessions when opening a new window in tabbed browsers

2008-07-03 Thread Steven Ross
What you are asking to do really isn't possible because of the stateless nature of http because you can't tell where the user is coming from. If they are authenticated then the application / web server has no idea what client (browser window) they are coming from and will let them perform any task

Re: [ACFUG Discuss] Cookies/Sessions when opening a new window in tabbed browsers

2008-07-03 Thread Dean H. Saxe
Actually, that has nothing to do with it Steve, the issue is not one of state at all. The problem is one of process isolation assuming we're referring to session cookies which are only retained in memory. IE supports a different process per browser window, Firefox does not. For cookies

RE: [ACFUG Discuss] Cookies/Sessions when opening a new window in tabbed browsers

2008-07-03 Thread axunderwood
Well..maybe, maybe not... Just for theoretical sake...you COULD make this work - would it be worth the trouble, that really depends on how many users do what was described below. But, you COULD get creative... Something like this. Let's say that there's a portal page to your

Re: [ACFUG Discuss] Cookies/Sessions when opening a new window in tabbed browsers

2008-07-03 Thread Dean H. Saxe
Allen, Sorry, but you are wrong here. You cannot do that. If the cookie is on disk, it is shared across all browser instances. Session cookies (non-persistent) may work if you can guarantee separate browser instances, which you can't do with tabs. I'd suggest some reading on the

Re: [ACFUG Discuss] Problem serving xls file on CF8

2008-07-03 Thread andrew . fox
The files aren't owned by the user that the CF server is running as, but they are in the same group and that group has both read and execute permissions on the files/directories in question. This is the same arrangement we had with CF7 as well. I just tried opening a copy of one of the

RE: [ACFUG Discuss] Cookies/Sessions when opening a new window in tabbed browsers

2008-07-03 Thread axunderwood
I'll take your word for it... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dean H. Saxe Sent: Thursday, July 03, 2008 12:50 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] Cookies/Sessions when opening a new window in tabbed browsers Allen,

Re: [ACFUG Discuss] Cookies/Sessions when opening a new window in tabbed browsers

2008-07-03 Thread Cameron Childress
On Thu, Jul 3, 2008 at 12:11 PM, Bruce Hodgdon [EMAIL PROTECTED] wrote: Is there any way to force a new session, if a user opens a new tab then goes to the same app that is in the first window? Short answer - no. I have found that sometimes users will open a new tab and go to the same