Thank you for replies. I understand where I'm wrong.
I had to trace if it's first using of class or not. I will do using session
where I put user data. If there is no session I do insert, otherwise I
dont'.
Thank you again!
--
View this message in context:
Hi,
I got a singleton class in the model that I use to check users and
privileges. I was trying to log access through a db insert, but I saw that
everytime I move through the site i got new row insert into user table. So I
don't understand what doesn't work in this singleton implementation.
Hi,
I'm actually using APC. I changed tags with ids and it is working now.
Thank you
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/Zend-Cache-cleaning-specified-tag-tp090p3346660.html
Sent from the Zend Framework mailing list archive at Nabble.com.
Hi,
I'm trying some apache benchmark and I saw very bad things.
I'm currently migrating my website (+300k page viewed per month) from old
version (simple php with mysql) to new one that will use Zend Framework and
PostgreSQL.
I don't understand why I'm having this result using apache benchmark:
Ok, probably the problem is apache benchmark. I used siege and I got this
results:
NEW ONE (CACHED)
Transactions: 500 hits
Availability: 100.00 %
Elapsed time: 67.40 secs
Data transferred: 5.59 MB
Response time:
Thank you for the answer.
How can I clean cache?
Regards
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/Zend-Cache-cleaning-specified-tag-tp090p3335507.html
Sent from the Zend Framework mailing list archive at Nabble.com.
Hi,
I'm going crazy trying to delete a specified tag.
I'm doing something like this:
$frontendOptions = array('automatic_serialization' = true);
$backendOptions = array();
$tag = 'myTag';
$cache = Zend_Cache::factory('Core', 'APC', $frontendOptions,
$backendOptions);
$cache-save($myData, $tag);