Hi,
Is there any way to NOT let the session expire from the client end. The situation is as follows.
We have a aspx page that calls a web service( the login validations are performed by the webservice and a session is establised with the server). Now if the client remains inactive for more than 5.5 mins the session gets expired and client has to re-login.

The web service is hosted by third party.... Is there any possible way to keep the sessin intact even if the client is idle for more than 5.5 mins.

I had this same situation, and if you're willing to use some JavaScript, you can write some AJAX code that will request a page. You could create a page with nothing on it, maybe call it ping.aspx. And then set a JavaScript timer to go off every couple minutes and request the page. You'll probably need to throw in a random number as a parameter such as ping.aspx?random=somenumber, where somenumber is a randomly-generated number, in case the page gets cached.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.