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_session goes wrong after get the second product

Im a beginer zend. and when i mess around with zend_session i got problem like this. With one item every things work fine. but more than one item it stop adding more item or increase matched item. here is my code // get value from form …
Duc Phan
  • 175
  • 1
  • 3
  • 14
0
votes
1 answer

How to log expiration time when a user session expired in Zend Auth

I want to add user logins and logout/session expiration info into database, Its easy for normal login and logout, but I couldn’t figure out how to proceed with automatic session expirations. My authentication works like below. My Login controller…
Rohith Raveendran
  • 410
  • 1
  • 6
  • 14
0
votes
1 answer

PHP Zend Framework Killing sessions amongst all browsers when logging off

I can login to my application using firefox and google chrome. When I click logout of google chrome, it goes back to the login screen. However, the user is still logged into firefox. How do I remove the sessions from both firefox and google chrome…
somejkuser
  • 8,856
  • 20
  • 64
  • 130
0
votes
1 answer

Zend Framwork Session on Internet Explorer

Still couldn't make it works after post this link: Zend framework session lost I have this Sign up form that allow users to register and redirect them right away to their pages. All work great on every browsers except INTERNET EXPLORER. I have tried…
Ya Fa Su
  • 160
  • 1
  • 4
  • 13
0
votes
1 answer

Zend_Session not carrying values across to view

I have setup in my MVC site a Session variable to carry ids to be used on any subsequent pages. In my controller, var_dumping the session shows its there with the correct values but when I pass said values to the view and trying to echo them there,…
John Cogan
  • 51
  • 1
  • 8
0
votes
3 answers

Zend: blank screen

For my work i have to edit a website which has been created with the Zend framework. When i deploy them on my test server and browse to the index.php all i get is a blank screen. I have display_startup_errors and error_reporting turned on and no…
ZvL
  • 793
  • 2
  • 11
  • 25
0
votes
1 answer

Zend Session webshop some items are just not stored

I have a weird problem where I want to store products from my shop in a session. This works well, except for some products. The shop is part of a cms where all products are rendered the same way. When someone adds a product to the shop this will be…
Rick de Graaf
  • 968
  • 1
  • 14
  • 35
0
votes
1 answer

Zend Auth Session Cookie

I'm stuck on a common problem but I don't really know how to get out. The browsers don't keep the auth session. Here is my setup. "application.ini" resources.session.save_path = ROOT_DIR "/public/session" resources.session.gc_maxlifetime =…
mtoninelli
  • 686
  • 1
  • 6
  • 21
0
votes
1 answer

When does Zend Session read and write?

I am storing quite a bit of data in my Zend Session namespaces and I'm wondering what's the most efficient way to reference it in my classes. Currently my constructors set up access with lines such as $this->_storage = new…
DatsunBing
  • 8,684
  • 17
  • 87
  • 172
0
votes
1 answer

Zend Framework SpeckCart not working correctly

I am using SpeckCart shopping cart module in my ZF2 project. I have setup the module and it adds item to the cart successfully, but it overwrites the same item on every call instead of adding new items. Please guide me where I am doing anything…
Khalid Amin
  • 872
  • 3
  • 12
  • 26
0
votes
1 answer

Zend Session saves in the right path, but gc try to clean elsewhere

My Project is running under ZF 1.11, and it throws this error randomly: Fatal error: Uncaught exception 'Zend_Session_Exception' with message 'Zend_Session::start() - /home/user/www/MyProject/library/Zend/Session.php(Line:469): Error #8…
Hectore
  • 25
  • 1
  • 4
0
votes
2 answers

Zend - external logout / ending other sessions

I'm writing an app using Zend Framework and I need to be able to logout users on demand. The app will receive a request containing some kind of ID's that are mapped to SessionIds and it will end/expire those sessions. I know how to do the mapping,…
Maciek
  • 3,174
  • 1
  • 22
  • 26
0
votes
1 answer

How to unset session when leaving website but not when refresh?

I need to have my web app destroy/unset the Zend_Auth session when a user leaves the site: for example when a user navigates away from myapp.com to say google.com, when they come back the session is no longer set? Preferable to allow refresh without…
Kal
  • 2,239
  • 6
  • 36
  • 74
0
votes
2 answers

Zend_Session losing data ... but why?

I am very new to this Zend_Session thing. I do have a Zend Framework App running; now I want to add some "features" to it. One of that features requires some data contained in a Session, so it is stored over all sites, the user will visit. In my…
Paladin
  • 1,637
  • 13
  • 28
0
votes
1 answer

How to find bugs that cause unclean seed of headers

I don't know if I missed something while developing my application using Zend_Framwork, but here's my problem, I can't see any cookies, when I run my application on host server, but on my WAMP server everything worked well .. I stock on sessions,…
Imad BELHAUSS
  • 71
  • 1
  • 2
  • 10
1 2 3
9
10