SID-02368: Save script can only be called with the post method.Raw edit
| Status: |
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
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.