Simply remove EnableSession = true since you're not actually using session data:
EnableSession = true
[WebMethod] [ScriptMethod(ResponseFormat = ResponseFormat.Json)] public static string SayHello(string name) { return "Hello " + name; }