473,322 Members | 1,718 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,322 software developers and data experts.

Applications with the help of javascript

I wrote an application in ASP/VBscript/Javascript to use in intranet.

Now my boss asked me if I can put a log-in log-off way to authenticate
users that will use this application.

I am not able to find a way to avoid clicking "X" on window to exit.

I mean:

Log-in ok (i write something in db)

Log-off

1) If user click on Log-off ok (i do some batch in db)
2) But what about if users click "X" in Internet explorer?

Can I load all application in a chrome window or modal dialog or
something like this?

Anyhelp appreciated.

Regards.

--
Desperate Developer ™
Nov 29 '05 #1
3 1010
"Fabri" <no@sp.am> wrote in message news:dm**********@nnrp.ngi.it...
I wrote an application in ASP/VBscript/Javascript to use in intranet.

Now my boss asked me if I can put a log-in log-off way to authenticate
users that will use this application.

I am not able to find a way to avoid clicking "X" on window to exit.

I mean:

Log-in ok (i write something in db)

Log-off

1) If user click on Log-off ok (i do some batch in db)
2) But what about if users click "X" in Internet explorer?

Can I load all application in a chrome window or modal dialog or something
like this?


Since you're using IIS/Asp, you can use the session timing out
to log him/her out.

Take a look at Global.asa and Session_OnEnd()...
Nov 29 '05 #2
Dag Sunde wrote:
Since you're using IIS/Asp, you can use the session timing out
to log him/her out.

Take a look at Global.asa and Session_OnEnd()...

But there are 20 minutes between start and end.

And also: can you post me an example please?

Rgards.

--
Desperate Developer ™
Nov 29 '05 #3
"Fabri" <no@sp.am> wrote in message news:dm**********@nnrp.ngi.it...
Dag Sunde wrote:
Since you're using IIS/Asp, you can use the session timing out
to log him/her out.

Take a look at Global.asa and Session_OnEnd()...

But there are 20 minutes between start and end.


That is completely up to you. You can set that value
to as little as 1 minute in the IIS control applet.

And also: can you post me an example please?


You just declare the sub Session_OnEnd() in global.asa,
and do the same there (presumably in vbscript) as you
do in your logout menu...

Remember thou, that global.asa runs with the credetials
of the same account as your web-application in IIS, and not
the account you have set up as anonymous internet user
(IUSR_MACHINE)

--
Dag.
Nov 29 '05 #4

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

Similar topics

385
by: Xah Lee | last post by:
Jargons of Info Tech industry (A Love of Jargons) Xah Lee, 2002 Feb People in the computing field like to spur the use of spurious jargons. The less educated they are, the more they like...
3
by: Birthday | last post by:
Hi, I have started to learn C# nowadays and find some ebooks on the structure and the syntax of the c# language. All the examples in the ebooks that I've found are all about console...
7
by: David Brewster | last post by:
Hi everyone. I've been working with VB6 for a while now, I'm feeling pretty damn confortable with it, but find myself wondering about VB.NET and web applications. So I thought I'd get my feet wet....
2
by: EFernandes | last post by:
Hi all, How can I deploy web applications (ASP.NET) to Linux clients? I have a large web application fully developed to work with IE 5.5 SP2 but now I need to use Konqueror, Mozilla, Opera,...
43
by: Rob R. Ainscough | last post by:
I realize I'm learning web development and there is a STEEP learning curve, but so far I've had to learn: HTML XML JavaScript ASP.NET using VB.NET ..NET Framework ADO.NET SSL
3
by: PromoteDirect | last post by:
Newsgroups: comp.lang.javascript Subject: access denied when trying to pass data between jsps Date: Thu, 09 Mar 2006 10:42:01 -0800 I have two jsp applications. One written with struts and one...
1
by: DSmith1974 | last post by:
Hi All, After creating an end-point with batches enabled using SQL Server 2005, I can easily query a database and have xml returned from within javascript using something like Pablo's code...
1
by: Andrea | last post by:
I need to give an overview of what Web applications are and what they can do. My customer is a medium company but they have been left technologically "behind" by their former CIO, which was a...
8
by: Peter Michaux | last post by:
Hi, I'm sure many here have already noticed this but it seems that the development of the browser world is paralleling the development of the computer world. However, the browser world is about...
2
by: Brad | last post by:
Hi... we do a lot of stuff in C++. Mostly back end, command line programs. Recently, we've been asked to write a GUI front end to a few of these apps. In the past, we have used QT and WX for GUIs...
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
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...
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: 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: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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.