Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Discussions (General)
 admin_forums.asp

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
Image Posted - 19 May 2006 : 18:06:41
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
<
4   L A T E S T    R E P L I E S    (Newest First)
Davio Posted - 20 May 2006 : 04:23:32
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 <
HuwR Posted - 19 May 2006 : 19:38:29
and your point is what?

please explain what you think is wrong.<
HuwR Posted - 19 May 2006 : 19:26:55
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<
HuwR Posted - 19 May 2006 : 18:34:25
why?<

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000 Version 3.4.07