NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: debzidoodle on March 19, 2014, 01:12:29 PM

Title: NT 8.02 _DeleteSession compile error
Post by: debzidoodle on March 19, 2014, 01:12:29 PM
Hi Bruce
I have a few places that use the following code
p_web.RequestData.WebServer._DeleteSession(clip(p_web.gsv('sv_3:sessionID')))   
When upgrading to NT 8, I am getting No matching prototype available on this code.

Thanks
Debra
Title: Re: NT 8.02 _DeleteSession compile error
Post by: Bruce on March 19, 2014, 11:24:58 PM
Hi Debra,

the first parameter to that method is now a pointer, so you need to put the value in a string before calling it. For example;

otherid = p_web.gsv('sv_3:sessionID')
p_web.RequestData.WebServer._DeleteSession(otherid)


Incidentally you never need to clip the value returned by p_web - all the methods that return strings automatically return clipped strings.

Cheers
Bruce