Re: Detecting lack of cookies/session on same page?

2007-07-04 Thread AJ Mercer
I have go this method working. I have also created a AJAX version. I will attach my working demo, but if it gets stripped email me directly and I will send it to you. On 6/20/07, AJ Mercer [EMAIL PROTECTED] wrote: How is this for an idea - wanted to bounce it off the list before I wasted my

Re: Detecting lack of cookies/session on same page?

2007-06-20 Thread Ariel Jakobovits
Not in the classic sense of same page or page request in that the page can load, present the user something to look at, and content within a div can be loaded afterwards open request. No, but in the literal sense of page request, it's a second page request. Just being technical, but

RE: Detecting lack of cookies/session on same page?

2007-06-20 Thread Dave Watts
Not in the classic sense of same page or page request in that the page can load, present the user something to look at, and content within a div can be loaded afterwards open request. No, but in the literal sense of page request, it's a second page request. Just being

RE: Detecting lack of cookies/session on same page?

2007-06-19 Thread Ben Nadel
Scott, As far as I know, this is not possible. While the ColdFusion page is processing, nothing has been flushed to the client browser. It is not until the headers get flushed that cookies can be set. Therefore, you cannot check to see if cookies even stick until you start flushing to the

Re: Detecting lack of cookies/session on same page?

2007-06-19 Thread Scott Weikert
Ben Nadel wrote: As far as I know, this is not possible. While the ColdFusion page is processing, nothing has been flushed to the client browser. It is not until the headers get flushed that cookies can be set. Therefore, you cannot check to see if cookies even stick until you start flushing

RE: Detecting lack of cookies/session on same page?

2007-06-19 Thread Dave Watts
The trick is, as best I can tell, the only way to detect if cookies aren't enabled is to do the two-page deal - first page, set cookie, redirect to second page, check for presence of cookie. The only way to test the browser's acceptance of a cookie is to set it (which requires sending your

Re: Detecting lack of cookies/session on same page?

2007-06-19 Thread Ariel Jakobovits
AJAX - Original Message From: Scott Weikert [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, June 19, 2007 11:11:52 AM Subject: Re: Detecting lack of cookies/session on same page? Ben Nadel wrote: As far as I know, this is not possible. While the ColdFusion page

RE: Detecting lack of cookies/session on same page?

2007-06-19 Thread Dave Watts
As far as I know, this is not possible. While the ColdFusion page is processing, nothing has been flushed to the client browser. AJAX That still requires a second page request. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber

Re: Detecting lack of cookies/session on same page?

2007-06-19 Thread Ian Skinner
A viable technique, but in the specific details, technically ColdFusion runs before AJAX would. Ian Ariel Jakobovits wrote: AJAX ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIA’s for your business.

Re: Detecting lack of cookies/session on same page?

2007-06-19 Thread Ariel Jakobovits
: Tuesday, June 19, 2007 2:08:49 PM Subject: RE: Detecting lack of cookies/session on same page? As far as I know, this is not possible. While the ColdFusion page is processing, nothing has been flushed to the client browser. AJAX That still requires a second page request. Dave Watts, CTO

RE: Detecting lack of cookies/session on same page?

2007-06-19 Thread Dave Watts
Not in the classic sense of same page or page request in that the page can load, present the user something to look at, and content within a div can be loaded afterwards open request. No, but in the literal sense of page request, it's a second page request. And in the original poster's

Re: Detecting lack of cookies/session on same page?

2007-06-19 Thread AJ Mercer
How is this for an idea - wanted to bounce it off the list before I wasted my time with some wacked out crazy idea In Application.cfm test for the cookie if it doesn't exisit, slip in some javascript that will open a (small) window that loads page one - set cookie page one also has some