Solved

Web Client Connection to Database

Posted on 2013-01-28
7
227 Views
Last Modified: 2013-02-10
I am running a product call EMS Professional which is a room reservation system.  It is running on a Windows 2008 server with a Microsoft SQL Express 2008 database backend.  This product have a web client so that you can access the system from a web browser without the need for a client installed on the local machine.  My problem is that when a user logs into the system via the web client it takes up one of the concurrent user licenses for that system.  When the logoff it gives that license back.  If they close the browser or tab without logging off the system still keeps them logged in.  What can I do to either force their logoff when they close the tab or reduce the amount of time it takes for they system to kick them off when the close the browser or tab?

Any help is greatly appreciated.
0
Comment
Question by:cpelrod
  • 4
  • 2
7 Comments
 
LVL 51

Expert Comment

by:tedbilly
ID: 38834042
That is a design flaw because of the way web browsers work so the vendor should fix it as a bug.  Have you contacted the vendor to fix it?

Otherwise, if the product is running on IIS on the Windows box, you may be able to shorten the web session timeout, however, that would also meant that if a client didn't log out and left the client idle they could be timed out automatically.

Can you ask the vendor how to shorten the session timeout?  If not, then we can try and do it in IIS if that is hosting the web application.
0
 

Author Comment

by:cpelrod
ID: 38837791
IIS is hosting the web app.  The vendor says that the issue is an IIS issue and they don't do IIS support so it is up to me through IIS to resolve this if possible.  My current strategy has been to strong-arm the users into remembering to log-out.
0
 
LVL 51

Accepted Solution

by:
tedbilly earned 500 total points
ID: 38838381
Well the vendor is 100% wrong.  It's the way the internet was designed.  When a browser gets a copy of the page it disconnects from the server and there is no special event override that will trigger a call back when the user closes the browser.  It's NOT an IIS issue.

If you search this site I've answered the question of solving the log out issue when a browser closes many times and there is no solution.  The best you can do is a JavaScript trick to ping the server frequently with a very short session so the ping keeps the session alive.  If the ping disappears the session auto logs out the user.

However, let's not worry about arguing with the vendor who seems to have questionable knowledge.

OK, then is it an ASP.NET web application?  If it is then we can override the session timeout to make it shorter.
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

Author Comment

by:cpelrod
ID: 38845993
I've requested that this question be deleted for the following reason:

I am worried I will break this application and have decided to leave it as is.
0
 
LVL 51

Expert Comment

by:tedbilly
ID: 38845994
There is a fix that can be implemented without breaking the application and I am willing to work with the Asker to correct it.
0
 
LVL 51

Expert Comment

by:tedbilly
ID: 38872191
#1 I give up, delete the question
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now