NetTalk Central

Author Topic: Browse list empty after a long time  (Read 3961 times)

Andjane

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • Email
Browse list empty after a long time
« on: January 14, 2014, 10:22:24 PM »
Hi There

I'm using Nettalk 6.54 Using mySQL DB. (Clarion8)

Webserver.

I have a browse List which works great.  But what i have noticed is if i open that page for the first time the next day it comes up with "No Records" I refresh the browser or open a new browser session then the list is populated.

Any ideas that could cause this ? and how to fix.

The webserver is running as a service and the browse has the following filter.    'MEM:MemberOrDebtor = <39>M<39>'

Thanks In Advance

Regards Andreas

lkeyser

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • Email
Re: Browse list empty after a long time
« Reply #1 on: January 15, 2014, 01:46:15 AM »
Hi Andreas

Check your session timeout value in the nettalk simple object in nettalk webServer procedure.
Settings Tab, Advanced.Tab
I think the default is set to 15 minutes..

You can change this.

Regards
Louis

Andjane

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • Email
Re: Browse list empty after a long time
« Reply #2 on: January 15, 2014, 12:52:48 PM »
Hi Louis

Not sure if it could be that. The browser session has not started yet.

I presume the timeout you talking about is from the time you open that page.

The issue normally arises in the morning when no one has been into that webserver for some time. Seems as if something has gone to sleep. The second time around the browse list gets filled with the data from the database and from then on it is all OK. Just wonder if it could be mysql ?

Thanks

Andreas

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Browse list empty after a long time
« Reply #3 on: January 15, 2014, 06:39:11 PM »
> Just wonder if it could be mysql ?

I think so. I recall some posts on this NG about the same issue. Do a search (try MySQL) and see what you can find.

lanmicro

  • Full Member
  • ***
  • Posts: 112
    • View Profile
    • Email
Re: Browse list empty after a long time
« Reply #4 on: January 16, 2014, 11:18:27 AM »
I had a similar problem.  What I wound up doing was using a timer to stop the webserver at midnight and using a task scheduler to restart it.  Since then I have not had a problem.  I don't know why it works.

Nothing else I tried worked.  Even pinging the MySQL database every 30 seconds would fail to connect first attempt the next day.
Gregory C. Bailey