HighTechTalks DotNet Forums  

Problem with AdRotator: image does not change in cached page

ASP.net Caching microsoft.public.dotnet.framework.aspnet.caching


Discuss Problem with AdRotator: image does not change in cached page in the ASP.net Caching forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #11  
Old   
dpomt
 
Posts: n/a

Default RE: Problem with AdRotator: image does not change in cached page - 01-10-2006 , 03:54 PM






Luke,

yes, this helps!
I had <AlternateText/> in my xml file for the ads and no alt="" was rendered.
Having changed to <AlternateText></AlternateText>, alt="" is rendered now!
Wow!

Hence I now don't need the AdCreated delegate any longer and the caching
mechanism for the adrot control works for my app

Thank you very much for your great assistance!
Best regards,
Dieter

Reply With Quote
  #12  
Old   
AT
 
Posts: n/a

Default RE: Problem with AdRotator: image does not change in cached page - 01-11-2006 , 01:05 AM






I am glad my suggestion make sense. If you have further questions, please
feel free to post in the newsgroup.

Have a good day!

Luke


Reply With Quote
  #13  
Old   
dpomt
 
Posts: n/a

Default RE: Problem with AdRotator: image does not change in cached page - 01-21-2006 , 06:39 AM



Hello Luke,

I am back with that problem regarding the ResponseFilter.
You have adviced me to put the
ReleaseRequestState += new EventHandler(InstallResponseFilter);
from Init to Application_Start.
Well, the ad rot worked fine afterwards,
but now, InstallResponseFilter is never called and the ResponseFilter hence
never does its work.

So please tell me why the adrot image is not changed (when cached) when
having the code above in the Init method.

Thanks and best regards,
Dieter

Reply With Quote
  #14  
Old   
AT
 
Posts: n/a

Default RE: Problem with AdRotator: image does not change in cached page - 01-23-2006 , 01:08 AM



As we discuss before, after we remove the AdCreated event, the ADRotator
control work well. So , if you move the ReleaseRequestState += new
EventHandler(InstallResponseFilter) back to the Init method, will it work?

In my test, it work in both of Start and Init method.

Luke Zhang


Reply With Quote
  #15  
Old   
dpomt
 
Posts: n/a

Default RE: Problem with AdRotator: image does not change in cached page - 01-23-2006 , 04:06 AM



Luke,

when moving back the ReleaseRequestState += new
EventHandler(InstallResponseFilter) back to the Init method, the response
filter works fine but the adrot stops working (images don't change any more).

Best regards,
Dieter

Reply With Quote
  #16  
Old   
AT
 
Posts: n/a

Default RE: Problem with AdRotator: image does not change in cached page - 01-24-2006 , 09:53 PM



Hello Dieter,

I didn't found any further information on this issue in our document. Now I
am trying to contact our developer to confirm this issue. This may takes
days. I will update you once I got any updates from our developer.

Thanks,

Luke


Reply With Quote
  #17  
Old   
dpomt
 
Posts: n/a

Default RE: Problem with AdRotator: image does not change in cached page - 02-21-2006 , 05:31 PM



Hello Luke,

any news on the topic?

Best regards,
Dieter

Reply With Quote
  #18  
Old   
AT
 
Posts: n/a

Default RE: Problem with AdRotator: image does not change in cached page - 02-21-2006 , 10:20 PM



Our developer has confirm this is a bug: When a response filter is used for
a request, the ability to reconstruct individual pieces of the response
buffers on subsequent requests will be lost. As a result the substitution
block that goes into the response buffers is no longer available as a
discrete item for us to act on.

However, this bug won't be fixed unless there is a specific customer
scenario that they were trying to solve. Therefore, I think the best way to
get a hot fix for this issue to submit a support service request to our
PSS. Please refer to http://msdn.microsoft.com/subscriptions/phone/ for how
to submit technical support incidents.

Hope this can help you get the problem resolved.

Luke Zhang
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.