Hi Renuka, welcome to the JavaRanch!
You should have looked at the date of that message
thread. It's rather old. A problem with reviving old message threads ("awakening a zombie") is that the people who were discussing it may no longer be interested. For
really old threads, they might not even have the same employers any more or the same job needs. It's better to just start a new thread of your own.
One of the things that happens when you switch from HTTP transport to HTTPS is that a new, secure sessionID is created and the original nonsecure sessionID is discarded. So there's some overhead involved. Generally speaking once you enter HTTPS you want to stay there. First, because of the switching overhead and secondly because it's harder to stay really secure if you keep switching secure transport on and off.