Solved

is Application_AuthenticateRequest  a global subroutine?

Posted on 2007-12-03
4
208 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
Comment Utility
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
Comment Utility
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
Comment Utility
Forced accept.

Computer101
Community Support Moderator
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
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.…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

763 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now