Hello,
I'm having the following problem:
I want to redirect to the login page (root) when the session has timed
out. I'm checking this in AppController each time a controller is
called. The problem is, that the login page is being rendered into the
old layout. I'm calling exit() after the
} );
/script
Adam
On Jan 3, 8:06 pm, kgrimm [EMAIL PROTECTED] wrote:
Hello,
I'm having the following problem:
I want to redirect to the login page (root) when the session has timed
out. I'm checking this in AppController each time a controller is
called. The problem is, that the login
I will check out this, thx for your help!
On Jan 3, 3:18 pm, Pablo Viojo [EMAIL PROTECTED] wrote:
Anyway, that's something non trivial, you can do it using headers,
status-code, content comparison (search for some string fore example) but
you may consider some cross-browser issues.
--
the problem
On Nov 20, 5:57 pm, kgrimm [EMAIL PROTECTED] wrote:
Hi,
I'm using inheritance for my own models and controllers. On my local
machine everything works fine.
When installing in another environment (from SVN or a tar archive for
example) I have the problem, that the model
seen a correction about
this in loadModels(). This was failing because of the parent class
that was expected to be appModel.
Maybe this has changed, I haven't tried this application for few
month.. I will check
On Nov 21, 9:15 am, kgrimm [EMAIL PROTECTED] wrote:
I'm inheriting from my own
Hi,
I'm using inheritance for my own models and controllers. On my local
machine everything works fine.
When installing in another environment (from SVN or a tar archive for
example) I have the problem, that the model classes are not loaded in
the same order, so it happens that a child class is
Hi,
how can I pass null values to a controller function using its URL?
for example: controller/function/par1/par2, how can I make par1
null?
Thanks in advance!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
of your url, then you can default
your second parameter to null in the controller. Of course this if you
are not doing the same for the $part2 already ..
Otherwise create another method in controller that calls an internal
method (to handle both cases).
On Nov 14, 5:37 pm, kgrimm [EMAIL PROTECTED
other alternatives?
Many thanks,
kgrimm
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email
I have just solved it myself, I don't understand the solution but it
works. (I needed to call redirect without appending 'index' as
controller action)
On Sep 26, 5:44 pm, kgrimm [EMAIL PROTECTED] wrote:
Hello,
I need to make a controller call from within another controller. The
controller I
10 matches
Mail list logo