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
1
vote
1 answer

Zend_Session_Namespace and setExpirationSeconds

I have problem for set a timeout on Zend_Auth Session this is my code : $authSession = new Zend_Session_Namespace('Zend_Auth'); $authSession->setExpirationSeconds(60*60*24*1); This code should make session expire after 1 day but actualy session…
Siol
  • 311
  • 8
  • 21
1
vote
2 answers

Strange Zend_Session behaviour using Zend_Application

I'm writing to see if someone of you guys has encountered this problem before and have a chance to understand why it happened to me. This is the story. I developed many ZF applications before Zend Framework v. 1.8, then I've stopped for about 18…
0
votes
0 answers

form fields display cached values

My policyInfoAction redirects my form to clientInfoAction. It stores the empty field errors and then validates the fields in the session variables and redirects it to the client-info page if it contains errors. It works fine. But the problem is the…
newbie
  • 1,023
  • 20
  • 46
0
votes
2 answers

unset session variable in zend view

I ll reframe my question based on some research I have done? I need to store lot of errors separately like $_SESSION['client_error'],$_SESSION['state_error'] etc. According to zend documentation do I have to store it like this for each…
Micheal
  • 2,272
  • 10
  • 49
  • 93
0
votes
2 answers

Zend_auth - Doctrine 2.2 - autoloading pbl

I've updating lib Doctrine 2.0 to 2.2 with Bisna lib. It works just fine, but i've got a problem with Zend_Session / zend_auth when Zend_Session::start() is called (into Boostrap.php). I've got a fatal error due to User's Proxy stocked in session. >…
bastien
  • 190
  • 1
  • 9
0
votes
1 answer

How can I use Zend_Auth with Zend_Json_Server?

Zend's JSON-RPC server doesn't seem to like sessions, and I can't seem to attach a session even by passing Zend_Session::getId() in to my RPC method and revive it with Zend_Session::setId($session_id) as I might expect. To illustrate what does NOT…
Stephen Fuhry
  • 12,624
  • 6
  • 56
  • 55
0
votes
1 answer

Session won't be created in Mozilla Firefox

I am working on a purchase system in my assignment and trying to solve the problem by using a session to store data in the process. Although I'm experiencing a problem in Mozilla Firefox, which cannot for some reason work with the session I have…
JavaCake
  • 4,075
  • 14
  • 62
  • 125
0
votes
1 answer

How to handle session destroy in Zend Framework?

I need to know users login and logout, the problem is when the user session timeouts, how can i handle this to update application. On session destroy, i want to update a db table for example ? I prefer no to use a cron job, since it will load much…
elibanon
  • 45
  • 4
0
votes
4 answers

Zend passing variables between controllers

I'm working on a small marketing project with Zend Framework, the backoffice of the project is currently made of two controller: a campaign controller and a minisite controller. The user create a campaign with a form, then he have to create a…
DoesNotCompute
  • 131
  • 1
  • 10
0
votes
1 answer

Can I know how to pass the zend session in /docs folder?

I have wordpress blog in /docs folder, I would like display zend session data on blogs header page. so I would like identify the zend session in wordpress header file, can any one tell me how do it?
0
votes
1 answer

AMFPHP + Zend Session

I have tried to use ZendSession class with AMFPHP, but AMFPHP uses raw PHP sessions in some of its functions and methods. I strongly need to manage all session variables by ZendSession. Is there any smart method to get it, instead of hack and modify…
Wodzu
0
votes
3 answers

Zend_Session_Namespace from non-Zend PHP

I need to integrate my no-framework code with my brand new Zend Application. But they need to share a session. The problem I am facing is - when I am setting the session variables from the non-zend php using $_SESSION['MyApp']['user']=$user; I cant…
Nandini Bhaduri
  • 1,835
  • 4
  • 18
  • 31
0
votes
1 answer

Zend\Session invalid setting

I'm working with Zend Framework 3 and after configuring the session in my module.config.php, I receive this fatal error: Fatal error: Uncaught Zend\Session\Exception\InvalidArgumentException: 'session.class' is not a valid sessions-related ini…
0
votes
1 answer

can you set a differnet session save path for different zend applications?

i'm creating a warehouse management system for my business which will be made up of 5 different zend applications all stored on the one webserver. what i want to do is store 3 of the applications session data in one folder…
roguecoder
  • 187
  • 1
  • 2
  • 8
0
votes
1 answer

zend session table, how to save user_id beside the standart stuff?

i am using http://framework.zend.com/manual/en/zend.session.savehandler.dbtable.html, the problem is that when i delete a user i want to delete his session in order to log him out, but i don't know what his session is... I can't find a way to add a…
max4ever
  • 11,909
  • 13
  • 77
  • 115