Greetings Chandrasekhar,
I am sure the logoff service needs to be a standard service by SAP that uses the standard handler class CL_HTTP_EXT_LOGOFF which explicitly deletes the cookies while logoff (which is the standard function of logoff). Just wanted to make you aware of that.
Please let me know how you plan to delete user cookies if you create a custom logoff service.
Thank you.