Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Redirect after login
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Redirect after login

 Post Reply Post Reply Page  12>
Author
ForumDummy View Drop Down
Groupie
Groupie


Joined: 04 December 2006
Status: Offline
Points: 58
Post Options Post Options   Thanks (0) Thanks(0)   Quote ForumDummy Quote  Post ReplyReply Direct Link To This Post Topic: Redirect after login
    Posted: 09 January 2007 at 3:50pm
If you in a certain forum and then decide to login, shouldn't you be redirected back to that particular forum? It seems to work that way with webwiz.net but not with my 8.05 forum. Isn't this code in forum login_user_test.asp supposed to bring you back?

ElseIf intForumID > 0 Then
     strReturnPage = "forum_topics.asp?" & removeAllTags(Request.QueryString)
Back to Top
Brandt View Drop Down
Newbie
Newbie


Joined: 30 January 2006
Location: Netherlands
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote Brandt Quote  Post ReplyReply Direct Link To This Post Posted: 10 January 2007 at 8:45pm
I've a similar problem, I think. I like to jump to a specific topic, by specifying the URL als forum_posts.asp?TID=nnn But if that forum requires a password, you are correctly redirected to a login page. But after login, you end up in default.asp whereas I would rather be redirected to the topic requested, ie TID=nnn. It seems to me that somewhere in all the redirects (forum_posts --> insufficient_permission --> login_user --> login_user_test --> default) the query string is lost. Would appreciate if  anyone would post a solution
Back to Top
ForumDummy View Drop Down
Groupie
Groupie


Joined: 04 December 2006
Status: Offline
Points: 58
Post Options Post Options   Thanks (0) Thanks(0)   Quote ForumDummy Quote  Post ReplyReply Direct Link To This Post Posted: 11 January 2007 at 1:12am
I have just made a test on this very board. I wanted to reply to this thread but since I was logged out, when I clicked the reply button I was taken to a login screen. Then, after loging in, I was redirected to the the correct forum but not to this topic page. I have two points to make here:

1) Why doesn't my forum work this way? I end up in the default page as Brandt indicates above.

2) It seems the most logical redirect would be a redirect to the page you were on prior to logging in.
Back to Top
Mikey View Drop Down
Senior Member
Senior Member

1979

Joined: 06 October 2003
Location: United Kingdom
Status: Offline
Points: 839
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mikey Quote  Post ReplyReply Direct Link To This Post Posted: 11 January 2007 at 1:37am
This forum runs version 8.50 alpha which is likely never to see the light of day as version 9 will supersede it
Handyman man?
Back to Top
ForumDummy View Drop Down
Groupie
Groupie


Joined: 04 December 2006
Status: Offline
Points: 58
Post Options Post Options   Thanks (0) Thanks(0)   Quote ForumDummy Quote  Post ReplyReply Direct Link To This Post Posted: 11 January 2007 at 3:53am
Originally posted by Mikey Mikey wrote:

This forum runs version 8.50 alpha which is likely never to see the light of day as version 9 will supersede it


is there way I can get the login_user_test file that is used in 8.50 alpha?
Back to Top
kpdillon View Drop Down
Groupie
Groupie


Joined: 29 December 2006
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote kpdillon Quote  Post ReplyReply Direct Link To This Post Posted: 11 January 2007 at 4:54am
I too would be interested in this...
Back to Top
MrMellie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 December 2006
Location: United Kingdom
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote MrMellie Quote  Post ReplyReply Direct Link To This Post Posted: 11 January 2007 at 8:32am
Originally posted by kpdillon kpdillon wrote:

I too would be interested in this...
Me three.
Back to Top
ForumDummy View Drop Down
Groupie
Groupie


Joined: 04 December 2006
Status: Offline
Points: 58
Post Options Post Options   Thanks (0) Thanks(0)   Quote ForumDummy Quote  Post ReplyReply Direct Link To This Post Posted: 11 January 2007 at 8:52am
So there you have it Moderators, popular demand!
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.