Print Page | Close Window

redirect? how to?

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=27420
Printed Date: 02 April 2026 at 5:44pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: redirect? how to?
Posted By: twopigs
Subject: redirect? how to?
Date Posted: 01 June 2009 at 3:30pm
Hello, I found some info on redirecting and nothing seems to work for me. I created a page in the forum called "blog_details.asp" and it's pulling in all the information  from the common.asp. I have a login link (users must login before adding a blog comment)  this is what i have for the link:

<a class="red" href="login_user.asp?returnURL=blog_detail.asp">Login to comment</a>

it just keeps going to the default.asp page after you login.


I found this but it's not working? any help?

if you want to redirect users back to custom member only pages, then you can just add this to the redirect: (part in red)

Response.Redirect("login_user.asp?returnURL=yourpagename.asp")

The page must be in the same directory as the forum as Web Wiz Forums sanitises redirects to prevent hacking and other unsavoury acts.



Replies:
Posted By: Scotty32
Date Posted: 05 June 2009 at 12:35pm
That appears to look like a post I may have made a while back.


I've had a look into it, and it appears that you need a QueryString as well, for example:

blog_details.asp?id=1


You would also need to encode the url, which you can do like so:

Response.Redirect("login_user.asp?returnURL=" & Server.URLEncode("blog_details.asp?id=1") )



-------------
S2H.co.uk - http://www.s2h.co.uk/wwf/" rel="nofollow - WebWiz Mods and Skins

For support on my mods + skins, please use http://www.s2h.co.uk/forum/" rel="nofollow - my forum .



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