NetTalk Central

Author Topic: Page doesn't load after email is sent  (Read 3646 times)

Jim A

  • Full Member
  • ***
  • Posts: 203
    • View Profile
    • Email
Page doesn't load after email is sent
« on: August 24, 2016, 07:54:00 AM »
Hi All:  Not sure what I did, but for some reason, once an email gets sent, and the Result page is posted back to the user, he has to hit refresh for it to load into his browser.  The right page appears in the URL, but you have to physically refresh.  The log shows the POST of the page, of course.

I realize that this is a long-shot without seeing the code, but thought I'd throw it out there in case it's something simple.  Unfortunately, I can't make most of the User Group meetings or I'd ask about it there.

Thanks,

Jim

Jim A

  • Full Member
  • ***
  • Posts: 203
    • View Profile
    • Email
Re: Page doesn't load after email is sent
« Reply #1 on: August 25, 2016, 12:35:54 PM »
Finally tracked this down.  Before the email gets sent, I have code that checks to make sure that the .pdf has been created, and if not, to generate it.  It did not like that.  Commented out the code and it works.

I'm very impressed with NTWS, but sometimes it makes me feel really dumb.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Page doesn't load after email is sent
« Reply #2 on: August 28, 2016, 11:03:51 PM »
possibly generating at that point caused a problem in the result sent to the browser. Specifically it generates NOOPs and they are probably better suited to a simple page request than happening at some time in a form.

cheers
Bruce