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

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Bug Reports (Open)
 Bug with search.asp referral not gone away !!
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Naeem
Starting Member

Germany
2 Posts

Posted - 10 January 2002 :  00:38:25  Show Profile
I'm new and from what I can see, this bug is here to stay unless somebody finds a fix. try this - go and search for something and then logout. try logging in again and you will encounter an enless loop. I've read all the fixes but this one still is not fixed. As I'm new I have not entirely been able to see all the mechanics, however from what I have gathered in this last 5 hrs of fixing is that search.asp has to be the fix. Can someone please help. I use IE 5.548072300 and I cannot say that this is the problem. Also all the changes I made cannot be the problem cause the original 3.33 I downloaded had the same bug.

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 10 January 2002 :  02:02:37  Show Profile
how about just redirecting someone who has logged out back to the default.asp page. Not sure why someone would log out right after searching from something though.

btw, you'd get the same behavior on any page if you logged out right after a form submittal.

Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 10 January 2002 :  03:38:46  Show Profile  Visit Gremlin's Homepage
You would need to put the redirect into inc_top.asp at the end of the case "logout" block of code

HALO - an EverQuest and Camelot Guild
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 10 January 2002 :  03:54:43  Show Profile
As I see it, all of the pages that automatically redirect need to have some sort of check before redirecting. I have been trying to figure out what is the best way to do it. Would a function that checks what page you are being redirected to or what page you came from be something that would solve this problem? Or would multiple checks in all the pages that automatically redirect be a better way to go?
Or maybe we could just not auto-redirect the user.

- David
Go to Top of Page

Naeem
Starting Member

Germany
2 Posts

Posted - 10 January 2002 :  09:55:00  Show Profile
I have not seen this happen anywhere else, can someone give me another example of this problem. if you can't, then can someone give us a quick fix for search.asp page loop refresh scenario.

Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 11 January 2002 :  02:07:30  Show Profile
Do you have to login/logout after you do a search?
The way I see it, if we are going to find a quick fix for this, we might as well fix all the other end-less loops that users encounter in the forum.
The only quick fix I know of is, not to login/logout after you do a search.

- David
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 11 January 2002 :  05:22:18  Show Profile  Visit Gremlin's Homepage
Unless I'm miss-understanding the problem wrong, this small change to the login/logout form is all thats required, basically I just put in a redirect to my main page. I added that to my forum about a year ago and haven't heard of anyone having a problem since.

My login/logout stuff has been modified a little but heres the gist of it


<!-- Start Login/Logout Code -->
<%
select case Request.Form("Method_Type")

case "login"
%>

<% if strLoginStatus = 0 then %>
<SCRIPT LANGUAGE="JavaScript">
window.alert("Your username and/or password were incorrect,\nplease either try again or register for an account");
</SCRIPT>
<% else
Response.Redirect "/default.asp"
end if

case "logout"
Response.Redirect "/default.asp"
end select




HALO - an EverQuest and Camelot Guild

Edited by - Gremlin on 11 January 2002 05:22:47
Go to Top of Page
  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.09 seconds. Powered By: Snitz Forums 2000 Version 3.4.07