NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on June 04, 2019, 02:21:28 PM

Title: How to save memory forms fields values between sessions
Post by: Alberto on June 04, 2019, 02:21:28 PM
Hi, having a memory form with some fields that, by ex, define a browse filter...
Which is the better way of save this fields to have the same values the next time the user opens the form?

Im using :
p_web.SetCookie('wFIles__Status',p_web.gsv('wFIles:Status'),today()+30)

in the SetFilter of the browse

Title: Re: How to save memory forms fields values between sessions
Post by: Bruce on June 05, 2019, 01:29:30 AM
>> to have the same values the next time the user opens the form?

next time, as in "next time this session" or as in "next time they login a week from now" ?

If the "next week" option then I recommend storing it in a server side table, and loading that into a session value when the user next logs in. ie keep it all on the server, don't use a cookie. This way it works regardless of where they log in from.

cheers
Bruce