Solved

Web Client Connection to Database

Posted on 2013-01-28
7
232 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 51

Expert Comment

by:Ted Bouskill
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:
Ted Bouskill 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

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:Ted Bouskill
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:Ted Bouskill
ID: 38872191
#1 I give up, delete the question
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

756 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