Solved

Web Client Connection to Database

Posted on 2013-01-28
7
231 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

789 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