Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

is Application_AuthenticateRequest  a global subroutine?

Posted on 2007-12-03
4
Medium Priority
?
216 Views
Last Modified: 2008-02-21
I was checking out the asp.net starter kit for time tracker and got confused on the global.asxa file.
I wanted to know if the Application_AuthenticateRequest subroutine unique for each user or session?
The cookie name is UserRoles and it is the same for eveyone. So, I'm confused. I thought you want to give the cookie a unique name so it can retrieve the right cookie for the user.

ex.
Jack logs in and it checks to see if cookie with the name userroles exists. If it does then it uses it.
What happens if Bob logs in? Does it find the same cookie?
0
Comment
Question by:mattphung
  • 2
4 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 20403039
The Application_AuthenticateRequest is fired when the current user identity is determined to be valid.  

What is it that you need to do with the user cookie?  Are you using Forms authentication with identity persistence cookies?

Bob
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 2000 total points
ID: 20403042
Reference:

A Detailed View of the Global.asax File
http://www.webpronews.com/topnews/2004/10/26/a-detailed-view-of-the-globalasax-file

Bob
0
 
LVL 1

Expert Comment

by:Computer101
ID: 20952981
Forced accept.

Computer101
Community Support Moderator
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

926 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