NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Jim A on August 24, 2016, 07:54:00 AM

Title: Page doesn't load after email is sent
Post by: Jim A 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
Title: Re: Page doesn't load after email is sent
Post by: Jim A 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.
Title: Re: Page doesn't load after email is sent
Post by: Bruce 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