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
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
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
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
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
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
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
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
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.
: 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
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
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
12 matches
Mail list logo