Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: CSRF token expired when page is left open
Post: RE: CSRF token expired when page is left open

ozornick Wrote: (01-09-2024, 11:40 PM) -- Disable regenerate tokens https://codeigniter4.github.io/userguide/libraries/security.html#token-regeneration -- It's already disabled. The problem is the ex...
1,304 Views
6 Replies
01-10-2024, 06:41 AM
gabriel_fucci
    Thread: CSRF token expired when page is left open
Post: CSRF token expired when page is left open

Hello! When a user enters a page that has a form, if he spends a lot of time with that page open and tries reload the page, it will throw a security exception. In the app/Config/Security.php file t...
1,304 Views
6 Replies
01-09-2024, 10:56 AM
gabriel_fucci
    Thread: cookie library and helpers doesn't work
Post: cookie library and helpers doesn't work

I'm trying to set a cookie to count how many visitors(hits) my posts already have. But the cookie is not sent, what I'm doing wrong?? In my debugging i get "null", or if I try dd($_COOKIE[$cookieName]...
590 Views
1 Replies
12-15-2023, 08:41 AM
gabriel_fucci
    Thread: Update data with (,) using is_unique is not work. Codeigniter v.4.4.3
Post: RE: Update data with (,) using is_unique is not wo...

probably '{$post Title}' is not recognized as the value of your variable, but a literal string '$postTitle'. In the documentation for the "is_unique" part it says this "Warning: If `$uuid` is a user i...
467 Views
1 Replies
12-13-2023, 11:23 AM
gabriel_fucci
  Thumbs Up Thread: translate uri
Post: RE: translate uri

kenjis Wrote: (12-10-2023, 07:14 PM) -- I sent a PR: https://github.com/codeigniter4/CodeIgniter4/pull/8321 Check it. -- nice!  :D :D
1,335 Views
3 Replies
12-11-2023, 05:10 AM
gabriel_fucci
    Thread: translate uri
Post: translate uri

Is there any wat to translate camel case to uri dashes??? like "BlogController" to "blog-controller" in auto routing. In the Routing.php file configuration it only exists to translate if the URI is "b...
1,335 Views
3 Replies
12-06-2023, 06:42 AM
gabriel_fucci

Theme © iAndrew 2016 - Forum software by © MyBB