Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking Cookie before each Web Forms loads
Message
From
03/10/2003 09:13:11
 
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00834359
Message ID:
00834750
Views:
21
>Hi,
>
>>
>I have a couple of ASP.Net apps running that the users now want a login on. I have no problem creating a login form and creating a transient cookie on a successfull login. In the page load event I can add the test for the cookie and if the cookie is not present redirect to the login form.
>
>This is fine for the smaller app with only 6 different forms. The problem is the other app is about 40 forms. I can add this to each and every page but I would rather do something globally.
>
>I looked into the Global.aspx but I cannot seem to find the correct event to hang this code on.
>
>Does anyone know which event in the Global.aspx I can use?
>>
>
>Probably best to look at Forms-based authentication to do this - that way you'd just need to put all forms requiring a login in the relevant folder.
>
>HTH,
>Viv

Thank you, I will take a look.
Fred Lauckner

You know, it works on my computer. I don't know what your problem is.

.Net aint so bad.
Previous
Reply
Map
View

Click here to load this message in the networking platform