This is a very old thread, but having just tried myself I noticed that the cookie is not set if I don't make that method call.
Although not needed in my example, I used a file for saving the cookie just to check the session-ID, and the file stayed empty without that call. Any thoughts?