Authentication problem

N

nicksertis

Hi All,

I am writing an ASP.NET site that needs to know the user's details. Not
such a problem when the user is logged in as I can use Windows
Authentication to get their username. The problem comes because this
app can be run _before_ they login to windows, meaning that they have
no Windows credentials being passed. In this case a default user
account should be used just to give them access (albeit non-validated).

I was hoping to be able to create a separate page for this situation.
This page would allow anonymous authentication, and all it would do is
create a default set of credentials before redirecting to the actual
site.

I initially thought that turning anonymous authentication on in IIS
would still pass credentials if you were logged in but this doesn't
seem to be the case (if you know this to be incorrect, please tell me
as I could be setting it up wrong).

Is there a way in .NET to set the user credentials before redirecting
to another page in the same project?

Many Thanks,
Nick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top