![]() |
| Sponsored Links (We share ad revenue): |
|
|
Re: ASP.NET Authentication without PW |
|
Moderator
![]()
Latest Blog Post:
My Favorite Isaac Asimov Story Posts: 4,068
Name: John Alexander
|
I think you need IE to do that. FireFox won't pass the Windows credentials.
You can read Active Directories a number of ways. One is ADSI but if you can avoid that you want to. Here is a bunch of sample code for .net and AD.
__________________
HungarianNotation is the last resort of scoundrels. Why not the first resort? That's where it counts! |
|
|
|
|
|
Re: ASP.NET Authentication without PW |
|
Moderator
![]()
Latest Blog Post:
My Favorite Isaac Asimov Story Posts: 4,068
Name: John Alexander
|
Yeah, actually, it looks like you're well upon your way in the right direction. I'd say it's only one line causing this bug you're seeing.
Response.Redirect("home.aspx") I don't know your app setup well enough to tell you exactly what the correct code should be. My first guess is "/home.aspx" because the authentication code is likely to be in your App_Code folder? The way the redirect is coded, it wants your home page to be in the same folder, whatever that might be.
__________________
HungarianNotation is the last resort of scoundrels. Why not the first resort? That's where it counts! |
|
|
|
| Sponsored Links (We share ad revenue): |
| Thread Tools | |
|
|
| Webmaster Resources Marketplace: |
| Software Development Company | Webhosting.UK.com |
| Web Templates | Text Link Brokers | Stock Photos |