Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Not going back to Topic after posting
 New Topic
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

Webbo
Average Member

United Kingdom
982 Posts

Posted - 27 August 2015 :  16:11:21  Show Profile  Visit Webbo's Homepage  Reply with Quote
I think I might be losing the plot now but I'm sure that when someone posts a reply to a topic the confirmation reads:

New Reply Posted!

Thank you For your contribution!

Back To Forum


And the page automatically goes back to the Topic in a second or so....?

However it's not happening on my forum and the page just stays at the confirmation

Can anyone shed any light on this ?

Thanks

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 27 August 2015 :  16:13:31  Show Profile  Visit HuwR's Homepage
Yes, it should redirect you, I do vaguely remember thus happening to someone before, will have a dig around in the archives see if I can find anything

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

Webbo
Average Member

United Kingdom
982 Posts

Posted - 27 August 2015 :  16:23:03  Show Profile  Visit Webbo's Homepage
Thanks
Go to Top of Page

Webbo
Average Member

United Kingdom
982 Posts

Posted - 27 August 2015 :  16:42:02  Show Profile  Visit Webbo's Homepage
I've just done some digging and I have the Referrer Mod installed in inc_header.asp and was wondering if it had anything to do with this code bearing in mind I'm running a separate database server to the one that the files are hosted on ...??


'############### Referer Mod #############
strRefScriptName = "http://" & Request.ServerVariables("SERVER_NAME") & Request.ServerVariables("PATH_INFO") 'added by me

If Len(Request.QueryString) > 0 Then
strRefScriptName = strRefScriptName & "?" & Request.ServerVariables("QUERY_STRING")
End If

If StrComp(Session("CurrentPage"),strRefScriptName)<>0 Then
If (InStr(Session("CurrentPage"),"post_info.asp")=0) and (InStr(Session("CurrentPage"),"post.asp")=0) Then
Session("LastPage") = Session("CurrentPage")
End if
Session("CurrentPage") = chkString(strRefScriptName, "refer")
End If
strReferer = Session("LastPage")

If (InStr(strReferer,"register.asp")<>0) Then
strReferer = "default.asp"
End If
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 27 August 2015 :  19:12:43  Show Profile
No. That doesn't interact with the database at all.
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 28 August 2015 :  04:54:59  Show Profile  Visit HuwR's Homepage
most of the previous posts were related to people having things like Norton Internet security installed.

Do you know if this issue is affecting everyone or just you?

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 28 August 2015 :  07:30:16  Show Profile
It can also be a result of IE's default security settings. If set to "high", it will disable a meta refresh. If you are using Firefox, you'll have to edit the about:config page.

To access it in IE:

  • Click "Tools"/"Internet Options"/Security
  • Select "Internet" Zone button (left in upper window)
  • Change default level to Medium-High vs High


To access it in FF:

  • Type about:config in browser address bar, hit enter
  • Click "I'll be careful, I promise" button
  • Search for "blockautorefresh" (new versions call it "accessibility.blockautorefresh")
  • Change value to false
Go to Top of Page

Webbo
Average Member

United Kingdom
982 Posts

Posted - 28 August 2015 :  11:43:52  Show Profile  Visit Webbo's Homepage
Nope, it all seems to be the same regardless which browser I use or which PC or phone
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 28 August 2015 :  11:52:02  Show Profile  Visit HuwR's Homepage
not certain then, when it displays the post_info result can you do a view source on the page to check if it is writing the refresh meta tag
Go to Top of Page

Webbo
Average Member

United Kingdom
982 Posts

Posted - 28 August 2015 :  12:06:54  Show Profile  Visit Webbo's Homepage
Whilst viewing the source code it refreshed the page after 62 seconds
I reposted and tried again and it was the same - 62 seconds

The pages and database connection are loading fast, so it seems to be just this bit.
Is there a setting on the server relevant to it, or perhaps somewhere in the file?
The server is a Windows 2012 if it helps
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 28 August 2015 :  12:28:04  Show Profile
That seems to be a case of an improper value, more than anything else. In "post_info.asp", look for something similar to this, just after the bit "Thank you For your contribution!"

<meta http-equiv="refresh" content="60" />


The value 60 is the number of seconds to wait prior to executing the refresh. Set it to something like 3.
Go to Top of Page

Webbo
Average Member

United Kingdom
982 Posts

Posted - 28 August 2015 :  12:48:59  Show Profile  Visit Webbo's Homepage
Hmmm , I can't see that in my post_info

I've loaded a txt version of it if you would be so kind to have a look ... post_info.txt

Thanks
Go to Top of Page

golfmann
Junior Member

United States
450 Posts

Posted - 28 August 2015 :  14:04:19  Show Profile  Visit golfmann's Homepage
You have this?

Response.write "</font></p>" & vbNewLine & _
" <meta http-equiv=""Refresh"" content=""1; URL=" & strReturnURL & """>" & vbNewLine & _
" <p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>"
Go to Top of Page

Webbo
Average Member

United Kingdom
982 Posts

Posted - 28 August 2015 :  15:05:24  Show Profile  Visit Webbo's Homepage
No but I have this...

Response.write "</font></p>" & vbNewLine & _
         "     <meta http-equiv=""Refresh"" content=""2; URL=" & Request.Form("refer") & """>" & vbNewLine & _
         "     <p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>"
Go to Top of Page

Webbo
Average Member

United Kingdom
982 Posts

Posted - 28 August 2015 :  15:15:04  Show Profile  Visit Webbo's Homepage
I've just downloaded a new copy of post_info.asp and replaced mine with it to test and there is no difference, the page still hangs for 62 seconds
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 28 August 2015 :  16:19:31  Show Profile  Visit HuwR's Homepage
my guess is that you possibly have some javascript that is interfering with the refresh

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.55 seconds. Powered By: Snitz Forums 2000 Version 3.4.07