I have a PHP website with a login system and when I login into the app to my panel and close the in-app in the background the session expires not kept stored. So I want to know to keep my session login in webview.

Hire us for app customization and app manage
Suppose that,
WebView = myWebView;
WebSettings webSettings = myWebView.getSettings(); webSettings.setJavaScriptEnabled(true);
webSettings.setDomStorageEnabled(true);
webSettings.setAppCacheEnabled(true); webSettings.setAppCachePath(getBaseContext().getCacheDir().getPath());
myWebView.loadUrl("https://krishnaapps.com");
myWebView.setWebViewClient(new WebViewClient());