I'm having a little trouble with a few of my login pages.
When I type the address as: http://www.mydomain/folder/ it shows the login page just fine, but on submit it will not load the next page.
However when I do: http://www.mydomain/folder/index.php it shows the exact same login page, and when I submit [login] it shows the next page just fine.
The sites are on a windows web server running IIS. I'm curious if anyone else has experienced this problem or if anyone has any ideas for a fix. When I run the exact same pages in apache, it doesn't matter weither I have the page specified or not.
Problem with login pages
Moderator: General Moderators
-
TheBentinel.com
- Forum Contributor
- Posts: 282
- Joined: Wed Mar 10, 2004 1:52 pm
- Location: Columbus, Ohio
Re: Problem with login pages
What does your form's action attribute look like? If you don't have one, or it's blank, that may be what's biting you. Since you've requested the folder, the server has to see if you've enabled a default document, see if it's present, and load it instead. I don't know if that same process ends up breaking a form GET/PUT or not.REdefined wrote:I'm having a little trouble with a few of my login pages.
When I type the address as: http://www.mydomain/folder/ it shows the login page just fine, but on submit it will not load the next page.
However when I do: http://www.mydomain/folder/index.php it shows the exact same login page, and when I submit [login] it shows the next page just fine.
The sites are on a windows web server running IIS. I'm curious if anyone else has experienced this problem or if anyone has any ideas for a fix. When I run the exact same pages in apache, it doesn't matter weither I have the page specified or not.
It would be interesting to see if changing the method in the form has any effect. Change GET to PUT, or vice versa.