NetTalk Central

Author Topic: WebService security template error  (Read 2425 times)

markster

  • Full Member
  • ***
  • Posts: 204
    • View Profile
    • Email
WebService security template error
« on: July 31, 2014, 02:38:38 PM »
When I clicked on the "User must be logged in" on the WebService Security tab, the template generated code that inserted a GetSessionLoggedIn statement in every NetWebServiceMethod procedure with a Return. However each of these procedures requires a return VALUE, so they all generated compile errors. For example:

  ! Part of Service : WebService
  ! Service-Level Security Settings
    If p_web.GetSessionLoggedIn() = 0 then Return.    <= This must return a value, ie Return('') or whatever.


Regards,

Mark

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11251
    • View Profile
Re: WebService security template error
« Reply #1 on: July 31, 2014, 10:49:50 PM »
thanks - fixed in 8.23