Solved

Web Client Connection to Database

Posted on 2013-01-28
7
230 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: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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

785 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