Hi Madhumitha,
HTML5 Local/Session Storage is your friend. Look at this example at the official PhoneGap documentation. With this storage interface, you can manage a session by your own.
Because SAPUI5 offers no Session-API, you have to use the HTML5-API directly. I also wrote a blog post about that issue: Client-side Session Management
Regards Michael