Welcome to Geeklog, Anonymous Wednesday, October 09 2024 @ 12:16 am EDT

Geeklog Forums

Token and stories


Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Before reporting an issue I need your opinion about token. If I write a story with an ID already in use (bad boy ID must be unique) I get the message "The ID you chose for this story is already in use. Please use another ID." and I loose my content.

In the documentation we can read:

A call to SEC_checkToken() will invalidate the token. So if you display a new form after checking the token, you will need to create a new token. Consider this in the control flow of your form processing, e.g. when checking for missing required fields. Keep in mind that the user may use the back button which will display the form again - including a token that has just been invalidated.


So how to make possible the use of the back button in the story submission?

::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
As for the duplicate id - that's a bug and will be fixed in 1.5.2.

And then there's the "our editors suck" meta-bug. Though the story editor is the exception and the problem here was something else.

bye, Dirk
 Quote

All times are EDT. The time is now 12:16 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content