# |
Jan 30th 2014, 09:46 |
Neon1024 |
Might be worth checking the CookieComponent unit tests |
# |
Jan 30th 2014, 09:45 |
mobasher |
no i am using 2.4.4 |
# |
Jan 30th 2014, 09:45 |
Neon1024 |
Are you running 2.4.5 ? |
# |
Jan 30th 2014, 09:45 |
Neon1024 |
Although if it was I'm sure it would have been picked up already |
# |
Jan 30th 2014, 09:45 |
Neon1024 |
Perhaps it's a bug in the CookieComponent? |
# |
Jan 30th 2014, 09:41 |
mobasher |
Neon1024: when you write something in the cookie with cookie->write and exactly after that you read it with cooki->read and it gives you the correct data what happens that after another action is executed it doesn't work? |
# |
Jan 30th 2014, 09:40 |
mobasher |
Neon1024: i looked at the component it is not complicated i don't undrestand why it does not work |
# |
Jan 30th 2014, 09:30 |
mini-me |
thanks @Neon1024, I'll give it a gander |
# |
Jan 30th 2014, 09:27 |
Pagebakers |
That would be cool :) |
# |
Jan 30th 2014, 09:27 |
Neon1024 |
Pagebakers: Agreed, maybe mini-me can fork it and maintain a 2.x version :) |
# |
Jan 30th 2014, 09:26 |
Neon1024 |
I'm sure the CakeDC guys would appreciate a PR :) |
# |
Jan 30th 2014, 09:26 |
Pagebakers |
shouldn't be much of a problem to update it to 2.x |
# |
Jan 30th 2014, 09:26 |
Neon1024 |
Have a look through the Users.RememeberMeComponent and see what it's doing with the cookie |
# |
Jan 30th 2014, 09:25 |
Neon1024 |
I didn't have time to nail down the issue at the time, I just turned off the checkbox in my view |
# |
Jan 30th 2014, 09:25 |
Neon1024 |
Although I haven't raised a ticket with burzum |
# |
Jan 30th 2014, 09:25 |
Neon1024 |
Maybe you can back me up on that |
# |
Jan 30th 2014, 09:25 |
Neon1024 |
mobasher: The remember me is broken in the Users component |
# |
Jan 30th 2014, 09:25 |
Pagebakers |
indeed |
# |
Jan 30th 2014, 09:25 |
Pagebakers |
yeah |
# |
Jan 30th 2014, 09:24 |
Neon1024 |
Pagebakers: I meant that mini-me could be inspired by it to write his own for 2.x :) |
# |
Jan 30th 2014, 09:24 |
mobasher |
Neon1024: i am using the users plugin rememberme compoent it should work :( in other projects i handlled the remember me with cookie myself and there was no problem |
# |
Jan 30th 2014, 09:24 |
Pagebakers |
Neon1024, mini-me: Not sure it will work |
# |
Jan 30th 2014, 09:23 |
Neon1024 |
!copula |
# |
Jan 30th 2014, 09:23 |
Neon1024 |
You might try Copula, but I don't know if it has a SOAP source |
# |
Jan 30th 2014, 09:22 |
Neon1024 |
Pagebakers might update it to work with 2.x one day ;) |
# |
Jan 30th 2014, 09:22 |
Neon1024 |
I wouldn't use that one though as it's a bit old now, but you can get the idea :) |
# |
Jan 30th 2014, 09:22 |
Neon1024 |
mini-me: Something like this, https://github.com/Pagebakers/soapsource |
# |
Jan 30th 2014, 09:22 |
mobasher |
Neon1024: no liftime is ok it exists but when i read it it does'nt decrypted it well |
# |
Jan 30th 2014, 09:21 |
Neon1024 |
mini-me: You use a SOAP Data source |
# |
Jan 30th 2014, 09:21 |
mini-me |
hey guys, whats the preferred way to perform a SOAP request in cakephp 2.4? Is there any built in cake library I can use? (I have to use SOAP!!) |
# |
Jan 30th 2014, 09:21 |
Neon1024 |
Perhaps the lifetime is too short |
# |
Jan 30th 2014, 09:21 |
Neon1024 |
Maybe the domain is wrong |
# |
Jan 30th 2014, 09:21 |
mobasher |
it exists i checked it in the firefox! |
# |
Jan 30th 2014, 09:21 |
Neon1024 |
The key you used to save the cookie? |
# |
Jan 30th 2014, 09:21 |
Neon1024 |
Did you double check the key ? |
# |
Jan 30th 2014, 09:20 |
Neon1024 |
and dumped $_COOKIE ? |
# |
Jan 30th 2014, 09:20 |
mobasher |
Neon1024: yes |
# |
Jan 30th 2014, 09:20 |
Neon1024 |
Iirc |
# |
Jan 30th 2014, 09:20 |
Neon1024 |
Did you make sure the cookie exists with $this->Cookie->check() |
# |
Jan 30th 2014, 09:20 |
Neon1024 |
mobasher: Are you using $this->Cookie->read()? |
# |
Jan 30th 2014, 09:20 |
mobasher |
i have a problem with cookie component. it writes teh cookie correctly but when i want to read it gives me nothing why? :( |