Tags:
create new tag
view all tags

SID-02368: Save script can only be called with the post method.Raw edit

Status: Asked Asked TWiki version: 6.1.0 Perl version: 5.6.1
Category: CategoryEditing Server OS: Redhat Last update: 7 years ago

Hello Some users have complained about the message

Attention

The save script can only be called with the POST method. Example:

This comes after clicking on Save from a normal Raw edit session. The problem is hard to re-produce but is annoying for the users.

The Edit session's form has method=post defined so I think that the error message is wrong.

I suspect a memory issue with the server but I would appreciate any feedback if anyone has experienced this in the past

Regards

Pete

-- Peter Jones - 2018-08-03

Discussion and Answer

Update:

The error message is correct. When this problem occurs the user's browser has lost the sessions information and requests these from another server. That server replies with a GET message.

We can re-produce the problem by deleting the browser cookies.

I'm not sure why this happens to some users at random moments.

-- Peter Jones - 2018-08-07

Update:

After looking more closely at how people work there are several scenarios for causing the above:

In these cases the user is no longer logged in. So TWiki asks for credentials from the SSO server which returns the GET and hence the error.

The error message isn't so helpful. Any thoughts on the best workaround for such cases?

-- Peter Jones - 2018-08-14

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Asked
Title Save script can only be called with the post method.Raw edit
SupportCategory CategoryEditing
TWiki version 6.1.0
Server OS Redhat
Web server apache
Perl version 5.6.1
Browser & version Firefox
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2018-08-14 - PeterJones
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.