NetTalk Central
Toggle navigation
Login
Register
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
Delete all sessionvars that have the same prefix in the name
« previous
next »
Print
Pages: [
1
]
Author
Topic: Delete all sessionvars that have the same prefix in the name (Read 4702 times)
Rene Simons
Hero Member
Posts: 650
Delete all sessionvars that have the same prefix in the name
«
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
Logged
Rene Simons
NT14.14
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: Delete all sessionvars that have the same prefix in the name
«
Reply #1 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
Logged
Print
Pages: [
1
]
« previous
next »
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
Delete all sessionvars that have the same prefix in the name