Solved

is Application_AuthenticateRequest  a global subroutine?

Posted on 2007-12-03
4
212 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Object Oriented Programming, C#, referencing, scoping. 13 85
Please explain purpose of GZIP 4 58
looking for an ASP.net report designer 4 41
using CK editor in iframes 5 27
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…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

749 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