Cosmok
Starting Member
3 Posts |
Posted - 06 May 2001 : 12:25:46
|
Ive tracked this error down to the code to follow. The Server Variable 'URL' is being misreported somehow. My forum lies in a directory 'zeroshell.com' on the server. Now, when i try to login, it redirects to a directory of /zeroshell/board/... instead of the /board/... directory it should. Why does this happen? It prevents me from logging in at all. I can log in as admin, but only when i enter the admin login page manually in my browser... this is no muy bueno
The code where it all happens... if (ChkUser2((strDBNTUserName), (Request.Cookies(strUniqueID & "User")("Pword"))) = 0) then %> <form action="<% =Request.ServerVariables("URL") %>" method="post" id=form1 name=form1> <INPUT type="hidden" name="Method_Type" value="login"> <tr> <td align="center"> <table> <tr><% if (strAuthType = "db") then %> <td><font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>"><b>Username:</b></font><br> <INPUT type="text" name="Name" size="10" value=""></td> <td><font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>"><b>Password:</b></font><br> <INPUT type="password" name="Password" size="10" value=""></td> <td valign="bottom"><% if strGfxButtons <> "0" then %> <INPUT src=button_login.gif type="image" value="Login" id=submit1 name=submit1 border=0 hspace=4><% else if strGfxButtons = "0" then %> <INPUT type="submit" value="Login" id=submit1 name=submit1><% end if end if %> </td> </tr> <tr> <td colspan="3" align="left"><font face="<% =strDefaultFontFace %>" size="<%=strFooterFontSize %>"> <INPUT type="checkbox" name="SavePassWord" value="true" CHECKED><b> Save Password</b></font> </td><%else
It starts on line #195 of inc_top.asp
There it is, please help me solve this...
Andy
|
|