Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - RC 1.1 After posting, returned to first page
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

RC 1.1 After posting, returned to first page

 Post Reply Post Reply Page  <123>
Author
rowdyvdveen View Drop Down
Newbie
Newbie


Joined: 24 February 2006
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote rowdyvdveen Quote  Post ReplyReply Direct Link To This Post Posted: 29 March 2006 at 1:51pm
Could be. I have been looking at the caching options, but haven't had any luck yet.
Back to Top
javi712 View Drop Down
Senior Member
Senior Member


Joined: 22 May 2003
Location: United States
Status: Offline
Points: 488
Post Options Post Options   Thanks (0) Thanks(0)   Quote javi712 Quote  Post ReplyReply Direct Link To This Post Posted: 29 March 2006 at 3:17pm
Hi Borg,

I'm having the same problem also. I have tried it on three different computers (that are configured differently) and the results are the same. When I post it takes me back to the first page although the PID # is included in the url.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 30 March 2006 at 11:19am
I have found the problem.

Some versions of IE6 have a bug (what a surprise) that when an anchor is used in a redirect from an ASP file IE screws up the querystring so that anchor becomes part of the preceding querystring eg:-

forum_posts.asp?PID=123#123

Should be read into the ASP from the querystring as:-

123

However, some version of IE6 read this in as:-

123#123

This is where the problem is and it only happend when you do a redirect (302 object moved) not when you go to the URL directly which is why refresh fixes the problem.

Microsoft have now fixed this bug but, but for those who are running the buggy versions of IE 6 I have come up with some code that removes the anchor from the querystring.

Place the following code at line 191 of the file forum_posts.asp:-

'Fix for stupid IE 6 redirect bug (IE SUCKS!!!) MS have fixed this for IE7
If lngGetPostID = 0 AND Request.QueryString("PID") <> "" Then
    'Remove the '#' hash anchor mark IE 6 includes in the string when doing a redirect (IE SUCKS!!)
    If InStr(Request.QueryString("PID"), "#") Then lngGetPostID = CLng(Mid(Request.QueryString("PID"), 1, InStr(Request.QueryString("PID"), "#")-1))
End If

Back to Top
javi712 View Drop Down
Senior Member
Senior Member


Joined: 22 May 2003
Location: United States
Status: Offline
Points: 488
Post Options Post Options   Thanks (0) Thanks(0)   Quote javi712 Quote  Post ReplyReply Direct Link To This Post Posted: 30 March 2006 at 1:40pm
No luck for me Borg,

I'm still being redirected to the first page and still getting the "#" after the PID
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 30 March 2006 at 3:02pm
You are still meant to get the # after the PID, this is for the anchor to work.

I've fully tested the code for the next version and it does work in IE6 now, so I'm afraid that you will just have to wait for the final release if you can not successfully integrate the code above.
Back to Top
javi712 View Drop Down
Senior Member
Senior Member


Joined: 22 May 2003
Location: United States
Status: Offline
Points: 488
Post Options Post Options   Thanks (0) Thanks(0)   Quote javi712 Quote  Post ReplyReply Direct Link To This Post Posted: 30 March 2006 at 3:18pm
Sounds good... I will be waiting
     
By the way... i always wondered... what does that bullet thing on each post do? i click on it and it doesn't do anything.
    

Edited by javi712 - 30 March 2006 at 3:19pm
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 30 March 2006 at 3:31pm
It's an anchor link to that post.

A number of people asked for it, as it allows you to click the bullet point and you get the URL then in your browser that takes you directly to that post.

Useful when linking to a certain post from another topic.

eg. the direct link to the first post in this topic would be:-

http://forums.webwiz.net/forum_posts.asp?TID=19020&PID=102941#102941
Back to Top
JasonPEC View Drop Down
Newbie
Newbie


Joined: 02 March 2006
Location: United States
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote JasonPEC Quote  Post ReplyReply Direct Link To This Post Posted: 30 March 2006 at 4:34pm
Works fine for me. Thanks.
Back to Top
 Post Reply Post Reply Page  <123>

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.