Print Page | Close Window

strReturnURL problem !!!!

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=24879
Printed Date: 06 April 2026 at 10:19am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: strReturnURL problem !!!!
Posted By: miladanimator
Subject: strReturnURL problem !!!!
Date Posted: 23 November 2007 at 8:05am

I have a problem with "login_user_test.asp" Page ...

just take a look at this code in "login_user_test.asp" Page :

-------------------------------------

'Get the forum page to return to
If blnLoggedInOK = False Then

strReturnURL = "login_user.asp?" & Request.QueryString

'Redirect the user back to the forum they have just come from
ElseIf Instr(Request.QueryString, "login_user.asp") Then

strReturnURL = "Travel.asp" & Replace(Request.QueryString, "login_user.asp", "", 1, -1, 1)

'If comming from insufficient_permission.asp page redirect back to forum index
ElseIf Instr(Request.QueryString, "insufficient_permission.asp") Then
strReturnURL = "Forum.asp" & strQsSID1

'Return to forum homepage
Else
strReturnURL = Request.QueryString
End If

----------------------------------------

I change the strReturnURL to "Travel.asp"

but after login to site, the users redirect to "http://localhost/%3cravel.asp?"

why the "Travel.asp" convert to "%3cravel.asp"   ?????

any one can help PLZ ???




Replies:
Posted By: WebWiz-Bruce
Date Posted: 23 November 2007 at 8:55am
It looks like you have modified the original code, and for some reason are trying to send the user to a page that doesn't exist within Web Wiz Forums.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net