Solved

is Application_AuthenticateRequest  a global subroutine?

Posted on 2007-12-03
4
214 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 500 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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

624 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