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

  • Home
  • SEARCH
  • 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 6958895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:11:59+00:00 2026-05-27T15:11:59+00:00

I want to use Zend framework’s remeberMe() function to create a persistent log in

  • 0

I want to use Zend framework’s remeberMe() function to create a persistent log in experience for users.
Here is what I know about Sessions:

1- When a user signs in to a website a session is created for him on the server on the file system .

2- a session cookie is generated on the client side holding an identifier for the session.

3- If a user closes the browser the session cookie is deleted while the session on the server will last until the garbage collector deletes the session’s file (after a time set by gc_maxlifetime).

4- If a user leaves the browser open for a long time (longer than gc_maxlifetime) the garbage collector will delete the session’s file while the session cookie will last till it’s deleted when the browser is closed.

Now what does Zend framework’s rememberMe() function do exactly?

a- Does it create a session cookie in the browser that lasts for the time specified in the call to it?

b- Does it increase the life time of the session file stored on the server so that the garbage collector doesn’t delete the file?

c- If it doesn’t affect the session file on the server then what happens when the session expires on the server side, but the session cookie is still available? will it be deleted on the spot or lift until it expires automatically?

Thanks in advance.

  • 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-05-27T15:12:00+00:00Added an answer on May 27, 2026 at 3:12 pm

    http://framework.zend.com/manual/en/zend.session.global_session_management.html
    “Use Zend_Session::rememberMe() before a session is started to control the length of time before a persisted session cookie expires.”

    It sets the cookie to live beyond the browser exiting, and sets its expiration time. Note that this is what all sites that “remember” the user’s login do.

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

Sidebar

Related Questions

I want to know how to use PHP session variable in zend framework here
I want to know how can i use Zend Framework in my php project
I'm using the Zend Framework to create an API I want to use apache
I use Zend Framework in my application. And I want to know how to
I am using zend framework 1.10. I use the zf tool to create controllers,
Using Zend Framework I want to use controllers stored in a directory which is
Part 1 I want to build a PHP Zend Framework application that users can
i am using a modular architecture with Zend framework, and i want to use
I want to create seo friendly urls in my Zend Framework application but how
I have a transaction log file in CSV format that I want use to

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.