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 Discussions (General)
 admin_forums.asp
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Image
Average Member

Canada
574 Posts

Posted - 19 May 2006 :  18:06:41  Show Profile  Visit Image's Homepage  Send Image an ICQ Message  Reply with Quote
in admin_forums.asp

Replace
if Session(strCookieURL & "Approval") <> "15916941253" then
	scriptname = split(request.servervariables("SCRIPT_NAME"),"/")
	Response.Redirect "admin_login.asp?target=" & server.urlencode(scriptname(ubound(scriptname)) & "?" & request.querystring)
end if

With
if Session(strCookieURL & "Approval") <> "15916941253" then
	scriptname = split(request.servervariables("SCRIPT_NAME"),"/")
	if Request.QueryString <> "" then
		Response.Redirect "admin_login.asp?target=" & server.urlencode(scriptname(ubound(scriptname)) & "?" & request.querystring)
	else
		Response.Redirect "admin_login.asp?target=" & scriptname(ubound(scriptname))
	end if
end if
<

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 19 May 2006 :  18:34:25  Show Profile  Visit HuwR's Homepage  Reply with Quote
why?<
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 19 May 2006 :  19:26:55  Show Profile  Visit HuwR's Homepage  Reply with Quote
I'm sorry, but you are not making sense, what is wrong that requires fixing?

from default.asp if you click on that icon there should be a querystring which tells it what to archive. Rather than just make a post saying change this to this, please explain what you problem you are trying to fix<
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 19 May 2006 :  19:38:29  Show Profile  Visit HuwR's Homepage  Reply with Quote
and your point is what?

please explain what you think is wrong.<
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 20 May 2006 :  04:23:32  Show Profile  Reply with Quote
Huwr, his code is removing the question sign ? from the end of the url, when there is no extra info in the query string.

So instead of http://forum.snitz.com/forum/admin_forums.asp? when going to the archive page, you go to http://forum.snitz.com/forum/admin_forums.asp.

I must say Image, this is a pretty insignificant code change. I mean, a single question mark?
Must have been bugging ya for years. lol <

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