GithubHelp home page GithubHelp logo

Comments (8)

CharliePoole avatar CharliePoole commented on June 18, 2024 1

Just happened again, this time when I clicked Save as Draft and it discovered my session had expired. Can I control that timeout, or is it hard-coded?

BTW, I had not run into this before because I've been writing offline till now. Today I started to write a new post directly in HTMLy, but it doesn't seem workable unless I can keep my session alive.

from htmly.

danpros avatar danpros commented on June 18, 2024 1

For now try increasing the value of session.gc_maxlifetime in your php.ini. The default value is 1440 seconds (24 minutes).

from htmly.

AutomationMan808 avatar AutomationMan808 commented on June 18, 2024

How did you recover it from the cache?

from htmly.

CharliePoole avatar CharliePoole commented on June 18, 2024

I used CPanel's file explorer to examine the files in the cache and did a copy and paste.

from htmly.

CharliePoole avatar CharliePoole commented on June 18, 2024

I tried that and it didn't seem to work but maybe I didn't start a new session. Trying again.

from htmly.

KuJoe avatar KuJoe commented on June 18, 2024

I was looking into a solution for this for shared hosting where users don't have a lot of control over the PHP settings and I ended up adding a feature that automatically saves the post as a draft every 60 seconds. I am still working out the specifics and making it look pretty, but so far testing has been pretty successful. Would something like this be a solution to this issue?

image

from htmly.

KuJoe avatar KuJoe commented on June 18, 2024

This can probably be closed due to PR #757

from htmly.

danpros avatar danpros commented on June 18, 2024

Thanks!

from htmly.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.