Hi Kashyap,

> I was trying out the guestbook example here -
> https://dev.to/cess11/lets-build-a-picolisp-guestbook-mkl I noticed that
> the changes to the DB only get affected across sessions only after restart
> the service. I mean, I add some data in a browser session and it shows up
> at the bottom as expected, however, they disappear if I revisit the site
> from another tab.

I have not tried or deeply studied the code, but it looks good at a first
glance.

'commit' should not be the culprit, as the program uses 'new!' and 'put!>',
which commit automatically.

Perhaps this is only a browser refresh problem? Browser tabs are not
automatically updated (contrary to pil's gui tabs) when revisited.

What if you simply press the reload button in the browser's navigation bar?

☺/ A!ex

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to