NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Rene Simons on August 19, 2018, 05:29:45 AM

Title: Delete all sessionvars that have the same prefix in the name
Post by: Rene Simons on August 19, 2018, 05:29:45 AM
Hi Bruce,

Is it possible to delete all sessionvars that have the same prefix in the name? Or using a wildcard?

E.g. p_web.DltPfxSV('hlp*'). And this being case insensitive, ofcourse.

Rene
Title: Re: Delete all sessionvars that have the same prefix in the name
Post by: Bruce on August 19, 2018, 11:06:05 PM
no there's no method to do this.
You would need to loop through the data queue to do this.
See the code in netweb.clw, in _DeleteSessionValue, to get some ideas.

cheers
Bruce