473,326 Members | 2,023 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

PHP DigiChat ODBC

Hi. I'm using a MS Access DBase to store user information for DigiChat (a
java based chat program). The ssite requires users to log in and out. I have
all of this working properly except this. When a user is finished they
should log out but we all know not everyone does what they should. What I
was windering is can something be done so that if a user navigates to a
different page or closes the browser that it will automatically log them
off. its changing a value in the dbase. Changing the value is simple and I
have it working off a Log Out button. If someine can help me it'd be great.
Thanks in advance.

--
Martin Cunningham.
Macro-Tek
http://www.macro-tek.cjb.net/

Jul 16 '05 #1
1 2344
Martin Cunningham wrote:
Hi. I'm using a MS Access DBase to store user information for DigiChat (a
java based chat program). The ssite requires users to log in and out. I have
all of this working properly except this. When a user is finished they
should log out but we all know not everyone does what they should. What I
was windering is can something be done so that if a user navigates to a
different page or closes the browser that it will automatically log them
off. its changing a value in the dbase. Changing the value is simple and I
have it working off a Log Out button. If someine can help me it'd be great.
Thanks in advance.


You can't do that, as HTTP is a stateless protocol. How about instead of
logging out the person when they leave, "log them out" -- that is, reset
all your variables to a default, non-logged-in state -- when they
arrive. That way, it will appear to the user as if they log out each time.

You could also try a "time-out" function (have your java applet send a
message to the server every x time units when it's running, and have
your server log out if you don't get one after y time units) if you want
to keep a running count of logged-in users.

Jul 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Marco Aschwanden | last post by:
Hi - Win2000 - Python 2.3.3 - py2exe 0.5.0 - eGenix Comercial & Base Package I am developing an app using mxODBC. On the home page they say ...
11
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows...
0
by: Kong Li | last post by:
Follow up to this thread, the latest Oracle 9i release 2 patchset (9.2.0.5) fixed the handle count leak problem. The problem is in Oracle client component. Thanks. Kong ----- From: Kong...
6
by: Andreas Lauffer | last post by:
I changed from Access97 to AccessXP and I have immense performance problems. Details: - Access XP MDB with Jet 4.0 ( no ADP-Project ) - Linked Tables to SQL-Server 2000 over ODBC I used...
4
by: Andreas Lauffer | last post by:
Can anyone tell me advantages / disadvantages of DataDirect Server Wire ODBC-driver? Any experiences? What about redistribution? Andreas Lauffer, easySoft. GmbH, Germany
3
by: Lauren Quantrell | last post by:
Maybe a dumb question - I'm new to ODBC. How do I install an Access ..mde file on a user's workstation and create the ODBC connection to the backend SQL Server database without having to go through...
0
by: bazzer | last post by:
hey, im trying to access a microsoft access database from an ASP.NET web application in visual basic 2003.NET. i get the following error when i try running it: Server Error in...
0
by: john00587 | last post by:
crack and digichat 5 http://cracks.00bp.com F R E E
0
by: landerdebraznpc | last post by:
crack and digichat http://crack.cracksofts.com
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.