Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: Checking if user is authenticated from begin request event


Message #1 by "James Yang" <syang11@b...> on Tue, 3 Dec 2002 17:24:38 +1100
Is this possible? What im trying to do is to modify the ibuyspy portal
to support caching

I want to use cached version of object if user isn't authenticated but
create new one if user is authenticated. Now im doing this in globalascx
Begin Request, and authentication is done using a custom httpmodules's
onauthenticatrequest event. 

Now I know begin request is before the authentication request. So should
I move the begin request code in to a Page baseclass ive created ? if so
what event of it is the best for this?


Thanx in advance


James



  Return to Index