Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9174523
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T16:46:08+00:00 2026-06-17T16:46:08+00:00

I read that I can use app/cache or app/logs for tmp files, but it

  • 0

I read that I can use app/cache or app/logs for tmp files, but it doesn’t feel right because they are not gonna be removed unless I do it myself.

For example, I need to store a date in a file (I don’t want to use a database for this), and I only need it to be there for 2 or 3 days.

What can I do?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T16:46:08+00:00Added an answer on June 17, 2026 at 4:46 pm

    Is’s not a good practice to let the web server to write inside a bundle. You can do it but you’ll have to deal with permissions and it introduces a security risk…

    Why not using /tmp (on a UNIX server) that is regularly cleaned or your own tmp dir like /home/ChocoDeveloper/tmp with cron task to clean it ?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have read in the Apple Documentation that we can use optional parameters in
I read that in Java, String is immutable, so we can't really use toLowerCase
I want to read the html file.And for that I use System.IO.File.ReadAllText(path) .It can
I have read that you can do it, but would this really improve performance
I am creating an Android app that will download and cache PDF files (the
I read that PHPUnit can be installed with pear or with composer. Because I'm
I have an app that allows the user to cache data for offline use.
I want to create a small sample app that can read my employee badge
I've read that there is no way that JQuery can download a file directly,
I like the new Dynamic keyword and read that it can be used as

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.