Questions tagged [zend-session]

Zend Session is a component made by Zend which helps in managing and preserving sessions in any application which uses Zend Libraries.

Session is a one-to-one relation between user agent (a browser) and the server-sided persistent data.

Zend_Session helps manage and preserve session data, a logical complement of cookie data, across multiple page requests by the same client. Unlike cookie data, session data are not stored on the client side and are only shared with the client when server-side source code voluntarily makes the data available in response to a client request. For the purposes of this component and documentation, the term "session data" refers to the server-side data stored in » $_SESSION, managed by Zend_Session, and individually manipulated by Zend_Session_Namespace accessor objects.

Zend_Session_Namespace instances are accessor objects for namespaced slices of $_SESSION as per Zend Documentation

140 questions
0
votes
1 answer

Zend Doctrine Session SaveHandler. How make it work?

I am trying to understand how to set up a Session Save Handler (with Zend/Doctrine) using a database table but I am a bit confused about how it all should work. I found this proposal that I think it suits my needs as I am also working with…
firefiter
  • 96
  • 8
0
votes
1 answer

PHPUnit and Zend_Session - testing setExpirationSeconds

I have a preDispatch plugin that sets setExpirationSeconds to a setting in my application.ini. I am trying to write a PHPUnit test for this. Is there a way I can get the Expiration Seconds to compare it to my application.ini setting?
bconrad
  • 402
  • 4
  • 14
0
votes
1 answer

Zend_Session and charset compatibility issue after browser restarting

I am facing a charset/session issue. Context : I developed a web site using Zend. I must use the ISO-8859-1 charset. During the user utilization, some data are stored into sessions variables (Zend_session) and everything is fine. But, once the user…
sdespont
  • 13,915
  • 9
  • 56
  • 97
-1
votes
1 answer

Redirect to login if user inactive zend

I want to redirect to login page if user is inactive for 30 minutes. Where to write the code and how? I have layout.phtml. Is it the right place to check session expired and redirect?
-2
votes
1 answer

Zend Framework 2 Session

Full example of how to use Zend Framework 2 Session in Controllers, and display the session variable to the view (.phtml).
Igor
  • 11
  • 3
1 2 3
9
10