Author |
Topic  |
|
KhiemTran
Starting Member
1 Posts |
Posted - 13 October 2006 : 18:15:06
|
Brinkster has upgraded their system again or something. This has created a huge login error for the forum!
For example, in inc_header.asp: <form action=""" & Request.ServerVariables("URL") & """ method=""post"" id=""form1"" name=""form1"">" & vbNewLine & _
It returns: <form action="/k/t/d/ktdesign/Forum/default.asp" method="post" id="form1" name="form1">
So what I mean is the URL that Request.ServerVariables("URL") gives is wrong, it gives out the link http://ktdesign.brinkster.net/k/t/d/ktdesign/Forum/default.asp. But the site is http://ktdesign.brinkster.net//Forum/default.asp
I need somebody to help me get rid of that k/t/d/ktdesign/ part so that the login code works on pages like default.asp, members.asp, ect...
The page login.asp works because it gives out the correct form URL: <form action=""login.asp"" method=""post"" id=""Form1"" name=""Form1"">" & vbNewLine & _
I can log on in that page only, and even if the login works for that site, it still requires me to log in on other pages like default.asp... so I can't even use the forum at all because of the login error...
HELP! Thanks. |
|
pdrg
Support Moderator
    
United Kingdom
2897 Posts |
Posted - 14 October 2006 : 07:52:04
|
How about using the brinkster online 'chat' help to see if they can tell you what changed and hence if they can get you working again. They're all US based, and actually pretty good
Other thoughts (sorry, it's been a while since I was at the coding edge) are to a) change the admin settings in snitz to match the new path or b) (lots more work) use the vbscript 'replace' function to replace the changed strings. a) sounds easiest to me
just a couple of thoughts to get you going, but I'm certain you'll get better offers from some of the smart cookies on this site |
 |
|
Shaggy
Support Moderator
    
Ireland
6780 Posts |
Posted - 14 October 2006 : 08:11:50
|
Try replacing Request.ServerVariables("URL") with strScriptName.
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
 |
|
|
Topic  |
|