Re: Displaying page loading message

2014-03-25 Thread funand learning

thank you Jonah. Your solution helped


On Mon, Mar 24, 2014 at 5:00 PM, .jonah  wrote:

>
> Display a page with the "loading" message then a client-side (meta or
> js) redirect to the slow page.
>
> On 3/24/14 1:53 PM, fun and learning wrote:
> > All,
> >
> > I have an issue with displaying a page loading message on a page with
> heavy database queries. My page has two frames, and I am trying to display
> loading message on the second frame. I am using cfflush to show the loading
> message but to no avail. The frame looks blank for 15 seconds and then
> loading message as well as data is displayed.
> >
> > Can anyone advice what is the best approach to resolve this?
> >
> >
> >
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358081
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Displaying page loading message

2014-03-24 Thread Jon Clausen

Do you see your your flush output in sequence when you hit the page in the 
frame directly? Some browsers handle the rendering of frames differently than 
individual pages and won’t display the frame content until loading is complete. 
 I suspect that may why your  output isn’t rendering in sequence. 

Working with loading messages is a situation where AJAX really shines.  Any 
reason why that isn’t an option?

Jon

On Mar 24, 2014, at 4:53 PM, fun and learning  wrote:

> 
> All,
> 
> I have an issue with displaying a page loading message on a page with heavy 
> database queries. My page has two frames, and I am trying to display loading 
> message on the second frame. I am using cfflush to show the loading message 
> but to no avail. The frame looks blank for 15 seconds and then loading 
> message as well as data is displayed.
> 
> Can anyone advice what is the best approach to resolve this?
> 
> 
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358075
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Displaying page loading message

2014-03-24 Thread .jonah

Display a page with the "loading" message then a client-side (meta or 
js) redirect to the slow page.

On 3/24/14 1:53 PM, fun and learning wrote:
> All,
>
> I have an issue with displaying a page loading message on a page with heavy 
> database queries. My page has two frames, and I am trying to display loading 
> message on the second frame. I am using cfflush to show the loading message 
> but to no avail. The frame looks blank for 15 seconds and then loading 
> message as well as data is displayed.
>
> Can anyone advice what is the best approach to resolve this?
>
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358074
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Displaying page loading message

2014-03-24 Thread fun and learning

All,

I have an issue with displaying a page loading message on a page with heavy 
database queries. My page has two frames, and I am trying to display loading 
message on the second frame. I am using cfflush to show the loading message but 
to no avail. The frame looks blank for 15 seconds and then loading message as 
well as data is displayed.

Can anyone advice what is the best approach to resolve this?


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358073
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm