Quick Nav:  Online Store   |   Login | Register

AJAX & Page Blaster

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
Hadwin
<20 Posts
Posts:1


12/06/2007 10:32 PM  

Hello,

I am a developer, my company just purchased the Page Blaster module, we have plans to roll out Page Blaster to our DNN production website very soon.

However, during the compatibility testing of Page Blaster with our existing website, I observed that Page Blaster does not seems to play nice with  AJAX style pages.

 

From the logging within Page Blaster, each time Page Blaster hit a AJAX response page (JP.aspx in the following example) there is always the following exception:

5/12/2007 4:35:20 PM PB:PageController:GetCachedPage: Page not found in disk cache:
   Url: http://dev.transperth.wa.gov.au]/DesktopModules/JourneyPlanner/JP.aspx?from=Street&to=Street&fromStreet=William%20st&fromSuburb=Northbridge&fromLocation=&fromStop=&toStreet=Morley%20Dr&toSuburb=Morley&toLocation=&toStop=&jpDate=Friday,%207%20December%202007&jpDirection=A&jpAMPM=PM&jpHour=12&jpMinute=40&fSet=False&fGadget=False&mode=t1,b1,f1,s0

    FilePath: C:\Inetpub\DNN4\DesktopModules\Snapsis\PageBlaster\Cache\DesktopModules\JourneyPlanner\b764d122afae6dd2a64623922616d175.pb.webinfo
5/12/2007 4:35:20 PM PB:PageController:IsPageExcluded: Exception:
    Message: Object reference not set to an instance of an object.
    StackTrace:    at Snapsis.HttpModules.PageBlaster.PageController.IsPageExcluded(HttpApplication app, ExcludeFrom excludeFrom, Settings settings)

The XML data returned from the AJAX response page is something like this.

[William St, Northbridge~~William St;Northbridge;�:6464797]~~POINT]]>
>
 Dr;Morley;�:6471490]~~POINT]]>
, Morley]]>
~POINT]]>
[Myrtle Ct, Morley~~Myrtle Ct;Morley;�:6472765]~~POINT]]>
>
:6472958]~~POINT]]>

I understand that the data being return from an AJAX request is kind of adhoc, so it should not be cached anyway. However, I think because Page Blaster and AJAX style pages are not playing nicely right now, I did run into some unexpected results.


As an example, for the logged-in users my understand is that there should be no caching at all. So I was expecting all the AJAX pages to work nicely once a user has logged in. However, this is not the case, I believe the Object Reference not set exception, is stopping the pages that should be excluded from really being excluded.

 

Can anyone with more knowledge of Page Blaster please tell me what they believe is going on?

Right now, I have a long list of AJAX style aspx pages added to the config file for exclusion.

 

Thank you,

 

Hadwin.

John Mitchell
Posts:3033


12/08/2007 3:17 PM  

It looks like there is a problem with the ExcludeFunction and that is why you are getting the other error. 

If you can contact me directly, I'll send you a debug version so we can determine what it is that is failing in the isPageExcluded function.

Click on my profile link to send an e-mail, or respond directly through e-mail to the notification from this post.

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.



ActiveForums 3.7
Powered by: Snapsis Software