473,480 Members | 2,324 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

New to asp.net need help with state

I am new to asp.net and need to learn it for a small intranet
application for work.

I have an application that needs to keep track of the users that are
online and was going to use the application state for storage (I only
expect about 10 users at a time)

My question is for the Application State event Application_End. I have
read two definitions of this event: is triggered when all
HttpApplication Sessions are closed and triggers when a change to the
virtual directory within the iis stucture is changed or iis is
restarted.

I can only get it to trigger when a change happens in IIS not when the
HttpApplication Sessions are closed.
I also would like to know about "Windows Authorization". The
application that I am writing will be using a Windows Login ID and
password. I have set it up for "Windows Authorization" and at this
time the web browser will ask for the username and password before
initializing the application. Is there a way to make this a part of
the page instead of the browser? Can I use form authorization and tie
it into the windows logon?

I hope this is the correct group thank you for the help.
Nov 15 '07 #1
1 827

If you implement the MembershipProvider .. then you can get this
functionality "built in".

http://msdn2.microsoft.com/en-us/lib...ersonline.aspx

........

<pl***@hotmail.comwrote in message
news:bd**********************************@i29g2000 prf.googlegroups.com...
>I am new to asp.net and need to learn it for a small intranet
application for work.

I have an application that needs to keep track of the users that are
online and was going to use the application state for storage (I only
expect about 10 users at a time)

My question is for the Application State event Application_End. I have
read two definitions of this event: is triggered when all
HttpApplication Sessions are closed and triggers when a change to the
virtual directory within the iis stucture is changed or iis is
restarted.

I can only get it to trigger when a change happens in IIS not when the
HttpApplication Sessions are closed.
I also would like to know about "Windows Authorization". The
application that I am writing will be using a Windows Login ID and
password. I have set it up for "Windows Authorization" and at this
time the web browser will ask for the username and password before
initializing the application. Is there a way to make this a part of
the page instead of the browser? Can I use form authorization and tie
it into the windows logon?

I hope this is the correct group thank you for the help.

Nov 15 '07 #2

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

Similar topics

1
2073
by: robinsand | last post by:
I am a new C++ programmer. I am still having trouble with certain data types and constructors, among other things. I'm not sure if I've used "std::string" properly throughout this program. I need...
9
1591
by: Tony Girgenti | last post by:
Hello I developed and tested a web application using VS.NET 2003, VB, .NET Framework 1.1.4322, ASP.NET 1.1.4322 and IIS5.1. It uses a web form. I tried doing this without any help, but i'm...
6
1290
by: Tony Girgenti | last post by:
Hello I developed and tested a web application using VS.NET 2003, VB, .NET Framework 1.1.4322, ASP.NET 1.1.4322 and IIS5.1. It uses a web form. I tried doing this without any help, but i'm...
1
1916
by: simonalexander | last post by:
I have got a homework task to do and I have started the work but I cannot finish it.Can someone please help me finish the code. The help given is much appreciated. The actual specifications are...
3
2183
by: Milagro | last post by:
Hello Everyone, I'm trying to debug someone elses php code. I'm actually a Perl programmer, with OO experience, but not in php. The code is supposed to upload a photo from a form and save it...
0
6915
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7054
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7097
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6750
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6993
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4794
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
4493
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2993
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
193
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.