In my case my solution was:
define('CAKE_SESSION_SAVE', '');
Is a good solution?
thanks.
On 7 mar, 03:52, "bingo" <[EMAIL PROTECTED]> wrote:
> Hi mindcharger,
>
> Thanks for the information. I will give it a try. For now, I tried
> playing with Cake_Session_Save and Security. I modified
Hi mindcharger,
Thanks for the information. I will give it a try. For now, I tried
playing with Cake_Session_Save and Security. I modified
Cake_Session_Save to database and security to medium. These changes
solved my current problems.
Regards,
Ritesh
On Mar 7, 3:44 am, "mindcharger" <[EMAIL PRO
Yep! They're the same...
The phpinfo() shows the php.ini info, plus a couple more stuff...
You don't have acess to php.ini? Well...let's see what we can do...
First of all, you can force manually the session start...how? Like
this:
session_start();
$_SESSION['car'] = 'Dodge Charger R/T';
This co
Hi,
I checked my phpinfo() details and over there it shows
session_cookie_lifetime = 0. Is this the same cookie_lifetime you were
talking off or is there some other...I don't have access to php.ini
file..
Regards,
bingo
On Mar 6, 5:24 am, "mindcharger" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> To ma
Hi,
To make the session time longer go to php.ini and set
session.cookie_lifetime to 0 that means (keep session alive until
browser is closed)...
As for security risks...I think you can answer that for yourself...if
there wasn't risk, there would be no session...:-) The rule: "Longer
Sessions, L
I have a similar problem.once I login successfully and if there is
no activity, the session exprires automatically after few minutes..
Does it mean, I need to increase session.gc_maxlifetime .
What should be the value if I want session remain active
indefinitely...and what are the securit
Hello,
Do you the PHP Sessions active?
This is not CAKE Session, is PHP Session.
To check if you have the PHP Sessions active go to your php.ini file,
find the 'Session' section and check for something like this:
session.auto_start = 1 //This will turn on the session
session.gc_maxlifetime = 14
You could be taking about one of two things here. If you're referring
to database-driven sessions, then see here: https://trac.cakephp.org/ticket/1163
This is an enhancement that will (most likely) be implemented before
1.2 final.
If you mean accessing session data in your model, then Mariano is
Anything is possible, but you shouldn't need that. What is that your model
needs that is on the session? There are other ways to do so, like fetch the
data you need from the session in the controller, and send it to the model.
Like so:
// in controller
var $uses = array ('Model');
var $component
On 2/7/07, PaulV <[EMAIL PROTECTED]> wrote:
> So what are the pros and cons for each of the choices for sessions
Speaking from my own experience, if you have multiple application
servers running, you really have no choice but to go with some sort of
centralized database-based session system (alth
On Feb 7, 6:09 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> Database sessions are what we used on our project as well.
>
So what are the pros and cons for each of the choices for sessions
Database Sessions - More easily scalable since database server is
accessible from all machines in clus
On 2/7/07, John David Anderson (_psychic_) <[EMAIL PROTECTED]> wrote:
> Cake's database sessions is a custom handler.
I figured as much, but I wanted to hear from someone else about it
before I proclaimed it so.
Database sessions are what we used on our project as well.
--
Chris Hartjes
My mot
smart, be cool, and share your knowledge.
BAKE ON!
blog: http://www.MarianoIglesias.com.ar
-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de nate
Enviado el: Miércoles, 07 de Febrero de 2007 02:44 p.m.
Para: Cake PHP
Asunto: Re: Sessions with a multi
Also, the over-arching thing to consider here is that you just
launched. There's nothing wrong with thinking ahead, but unless your
app is The Second Coming of Google, thinking about scaling on that
level right now is, for lack of a better term, mental masturbation.
On Feb 7, 12:41 pm, "nate" <[
Use database sessions, that's what all the cool kids are doing.
// app/config/core.php:
define('CAKE_SESSION_SAVE', 'database');
On Feb 7, 12:35 pm, "John David Anderson (_psychic_)"
<[EMAIL PROTECTED]> wrote:
> On Feb 7, 2007, at 10:30 AM, Chris Hartjes wrote:
>
>
>
>
>
> > On 2/7/07, codecowbo
On Feb 7, 2007, at 10:30 AM, Chris Hartjes wrote:
>
> On 2/7/07, codecowboy <[EMAIL PROTECTED]> wrote:
>>
>> My company Lifeagora has launched... Finally!!! (applause) We are
>> in the process of setting up a scalable architecture which would of
>> course allow us to use a load balancer to di
On 2/7/07, codecowboy <[EMAIL PROTECTED]> wrote:
>
> My company Lifeagora has launched... Finally!!! (applause) We are
> in the process of setting up a scalable architecture which would of
> course allow us to use a load balancer to divi up requests between
> several apache servers. This not m
On Feb 7, 2007, at 10:26 AM, codecowboy wrote:
>
> My company Lifeagora has launched... Finally!!! (applause) We are
> in the process of setting up a scalable architecture which would of
> course allow us to use a load balancer to divi up requests between
> several apache servers. This not m
On Nov 27, 5:05 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I have not yet used amf in cake, so I can't offer any specific advice.
> But two possible work-a-rounds
>
> Option 1: Get the record id first (ie. insert a blank record into your
> database), then send the record id with th
Isn't this already built into PHP?
I think it involves session.use_only_cookies in php.ini.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegrou
Before I knew CakePHP I was working with my own set of libraries and I
had one for sessions too which I called sessions on demand.
I think the way it functioned would be nice to have inside CakePHP as
well:
1. CakePHP tries to store the sessions via cookie by default
2. When one of these func
101 - 121 of 121 matches
Mail list logo