.NETGURU
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...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification