question regarding change I saw in 10.02
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=29686
Printed Date: 01 April 2026 at 4:22am Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: question regarding change I saw in 10.02
Posted By: billd3
Subject: question regarding change I saw in 10.02
Date Posted: 23 August 2011 at 1:07pm
Regarding this quote from the 10.02 release notes:
>>24. ajax_session_alive.asp - updated to separate XSFR checking from
session pinging to reduce the chance of form submission errors when
posting<<
Is this why when I go to post I get a permissions error - and I see it happens mostly when the little message appears near the bottom as if my computer is "making contact" with the forum? If I wait until that message goes away (we are in the states, so pings back to the UK take a LONG time, thus the errors) and try to post, it works. but if I click to send the post and that message appears, I think it's the keep-alive, then the post will fail every time.
Connected?
------------- BillD
http://theamcpages.com
http://theamcforum.com
|
Replies:
Posted By: WebWiz-Bruce
Date Posted: 23 August 2011 at 2:05pm
The permission error was occurring in version 10 as the session ping rate was set at 6,000 milliseconds, which works out at every 3 seconds. This was an error as it should have been 60,000 milliseconds as in version 9 which is a ping every 60 seconds.
As you can only have one AJAX call at a time if the session ping response was not read back from the server within 3 seconds before the next AJAX call was started it would fail and cause the form to not be correctly populate giving a permissions error when submitting the post.
To fix this the session ping time has been correctly set at 2 minutes to allow time to make the connection and process the response.
To also further prevent errors with the session ping the system has been rewritten to not include any important form data so if the session ping fails the form can still be submitted correctly without the permissions error.
------------- 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
|
|