Migrate ASP to ASP.NET
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngmigrate' list.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.

gustavo.varo@itau.com.br
Hello everybody,=20

I have a web application which users need be logged on the app. When i =
was using classical asp, i used a include that check a session variable =
that contains the name of the user and check if that user could be =
access the page.=20

If the variable was null the include redirect to a logon page, if the =
user can't be access the include show a msg to user telling the user =
can't be access that page.=20

Now i'm using asp.net, i would like to know what do you suggest for me =
to do in this case ????=20

I'm trying to use a web user control, but isaw i have alot of =
limitations with wuc.=20

Thanks,=20

Gustavo.=20

Reply to this message...
 
    
Scott Mitchell (VIP)
Gustavo, the ASP.NET team has made MANY things much easier in ASP.NET
than it was in classic ASP, and forms-based authentication and
authorization, the situation you've spelled out, is one of those.

To learn more, check out this article:

    Using Forms Authentication in ASP.NET
    http://www.4guysfromrolla.com/webtech/110701-1.shtml

It shows how to provide the functionality you're after in ASP.NET!
Happy Programming!

Scott Mitchell
Click here to reveal e-mail address
http://www.4GuysFromRolla.com/
http://www.ASPMessageboard.com/
http://www.ASPFAQs.com/

* When you think ASP, think 4GuysFromRolla.com!

| -----Original Message-----
| From: Click here to reveal e-mail address [mailto:Click here to reveal e-mail address]
| Sent: Monday, August 05, 2002 9:00 AM
| To: aspngmigrate
| Subject: [aspngmigrate] Migrate ASP to ASP.NET
|
|
| Hello everybody,
|
| I have a web application which users need be logged on the
| app. When i was using classical asp, i used a include that
| check a session variable that contains the name of the user
| and check if that user could be access the page.
|
| If the variable was null the include redirect to a logon
| page, if the user can't be access the include show a msg to
| user telling the user can't be access that page.
|
| Now i'm using asp.net, i would like to know what do you
| suggest for me to do in this case ????
|
| I'm trying to use a web user control, but isaw i have alot
| of limitations with wuc.
|
| Thanks,
|
| Gustavo.
|
| | [aspngmigrate] member Click here to reveal e-mail address = YOUR ID
| | http://www.asplists.com/asplists/aspngmigrate.asp = JOIN/QUIT

Reply to this message...
 
 




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com