FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Preview Message in Post Form misfires
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Preview Message in Post Form misfires [message #15685] Wed, 31 December 2003 13:29 Go to next message
wfjmueller is currently offline  wfjmueller   Germany
Messages: 95
Registered: December 2003
Location: Darmstadt, Germany
Karma: 0
Member
When posting to this forum, thus using 2.6.0RC11, I had now a few times the following strange effect:

Clicking the 'Preview Message' button in the Post Form did not produce the desired preview, but presented the home page....

The URL was something like

http://fud.prohost.org/forum/index.php?S=####

where #### was not equal to the session-id (the SQ=....) I had in this session.

I could always recover by clicking 'Back' in my browser (Mozilla 1.4.1 or 1.5) and simply clicking again on 'Preview Message'.

This behaviour is stochastic, I guess the probablilty is in the 3-10% range.

I never saw this behaviour with different FUDforum installation running 2.5.2.
Re: Preview Message in Post Form misfires [message #15692 is a reply to message #15685] Wed, 31 December 2003 19:38 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
This is likely happening because while writing the reply you were also browsing the forum. Which caused the SQ to change causing you to be redirected to the front page. In the next release the SQ expiry time increased to reduce the change of this happening.

FUDforum Core Developer
Re: Preview Message in Post Form misfires [message #15705 is a reply to message #15692] Fri, 02 January 2004 12:57 Go to previous messageGo to next message
wfjmueller is currently offline  wfjmueller   Germany
Messages: 95
Registered: December 2003
Location: Darmstadt, Germany
Karma: 0
Member
Ilia wrote on Wed, 31 December 2003 20:38

In the next release the SQ expiry time increased to reduce the change of this happening.


Do I guess correctly, that this is an mechanism against session hijacking ? Is the SQ expiry time configurable ?
Re: Preview Message in Post Form misfires [message #15712 is a reply to message #15705] Fri, 02 January 2004 15:54 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Yes, SQ ensures that sessions cannot be hijacked. The expiry time of this option is not configurable at this time.

FUDforum Core Developer
Re: Preview Message in Post Form misfires [message #15745 is a reply to message #15692] Sat, 03 January 2004 14:36 Go to previous messageGo to next message
wfjmueller is currently offline  wfjmueller   Germany
Messages: 95
Registered: December 2003
Location: Darmstadt, Germany
Karma: 0
Member
Ilia wrote on Wed, 31 December 2003 20:38

This is likely happening because while writing the reply you were also browsing the forum.

I had lately a case of SQ timeout where I definitely did not browse in parallel other forum pages. It just took a few minutes to complete the posting... so it seems just to be a too short a time out.
Re: Preview Message in Post Form misfires [message #15749 is a reply to message #15745] Sat, 03 January 2004 19:34 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The timeout would cause you to be taken to the front page ONLY in the even you had browsed other forum pages.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Delete Me
Next Topic: Spell checker -- numbers and single quotes
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 21 21:26:06 GMT 2024

Total time taken to generate the page: 0.02610 seconds