Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Current Version (Old)
 'URL' Server Variable being reported WRONG
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Cosmok
Starting Member

3 Posts

Posted - 06 May 2001 :  12:25:46  Show Profile
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


  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07