March 27th, 2003, 04:17 PM
Pass form values to .htaccess or NT Auth
I'm clear on the method of passing the login id and password on the url, as in:
The only problem is that the host also requires a domain. That is, the authentication popup asks for id, password, and domain.
Is it possible to pass the domain value on the url as well?
March 28th, 2003, 10:15 AM
Have you tried domain\username? That's the way it works with network connections.
March 28th, 2003, 10:47 AM
That does not seem to work.
March 28th, 2003, 01:17 PM
ok, well set the default in the iis authentication then.
March 28th, 2003, 02:50 PM
That may not be possible, as this is on a client's hosted site.
Does anyone know of another solution?
March 28th, 2003, 03:07 PM
what a hassle. Have you considered using sessions to do authentication instead? I went down the os authentication method but ended up converting it to use sessions.
March 28th, 2003, 03:27 PM
Yes, ordinarily I would use a database/session-based login. I'm just trying to hack a solution where a client wanted a single form that would accept the username and password and redirect to the correct extranet directory. Those directories are already protected by NT authentication.
Was a good plan and worked in our dev environment...just ran into the domain issue when I tested it on the live server.