Re: CakePHP Session lost / Facebook SDK / Cookies

2014-01-19 Thread AuB BuSTA
> > Thank You :) > > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an e

Re: What are the cookies set by CakePHP automatically (cookie named "CAKEPHP") for?

2013-03-22 Thread Anna P
ious that the cookie you're looking at is the *session* > cookie. > The hashed value it contains is the session id. > > AD > > On Friday, 22 March 2013 10:01:56 UTC+1, Anna P wrote: >> >> Hello. >> >> I have following question - what are the c

Re: What are the cookies set by CakePHP automatically (cookie named "CAKEPHP") for?

2013-03-22 Thread AD7six
"but I use sessions" It should be obvious that the cookie you're looking at is the *session* cookie. The hashed value it contains is the session id. AD On Friday, 22 March 2013 10:01:56 UTC+1, Anna P wrote: > > Hello. > > I have following question - what are

What are the cookies set by CakePHP automatically (cookie named "CAKEPHP") for?

2013-03-22 Thread Anna P
Hello. I have following question - what are the cookies, which are set automatically by CakePHP, for? By cookies set automatically I mean the cookie named "CAKEPHP" with some hashed value. I do not use any cookies in my application (but I use sessions) and I wonder why is ther

Re: CakePHP Session lost / Facebook SDK / Cookies

2013-02-11 Thread repthe415
I just had this issue today with Cake 2.3. I didn't wanted to change the official Facebook SDK nor set the Security.level to low. This is what worked for me... CakeSession::read('user'); App::uses('Facebook', 'Vendor/facebook'); $Facebook = new Facebook(array(...)); That way I'm making sure I

do database sessions still use cookies?

2012-09-07 Thread John Moses
I'm trying to save data via the session in an iframe using the database defaults. Is there anyway to store sessions to the database bypassing cookies? I tried ini_set use_cookies to 0 and that didn't work. Thanks. -- You received this message because you are subscribed to the Goo

Re: Cookie not saving and I can't view cookies in IE8

2012-06-17 Thread Daniel
I took out the line that sets the domain and it worked. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, se

Re: Cookie not saving and I can't view cookies in IE8

2012-06-17 Thread Tilen Majerle
$this->Cookie->time = '365 Days'; you missed "+" so $this->Cookie->time = '+365 Days'; -- Lep pozdrav, Tilen Majerle http://majerle.eu 2012/6/17 Daniel > $this->Cookie->time = '365 Days'; -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new

Re: Cookie not saving and I can't view cookies in IE8

2012-06-17 Thread Daniel
I deleted my browsing history and I was able to view cookies in IE8. My cookie was not there, so Cake / PHP is not writing cookies. I tried setting the domain as follows: $this->Cookie->domain = $_SERVER['SERVER_NAME']; ... which sets it to "localhost". And then I te

Re: Cookie not saving and I can't view cookies in IE8

2012-06-15 Thread lowpass
27.0.0.1project2.poseidon etc. Each site would have its own virtual host file, eg: ServerName project1.poseidon Then, to allow your code to run on both your local and remote machines: $this->Cookie->domain = $_SERVER['SERVER_NAME']; > I tried in Chrome but I could n

Cookie not saving and I can't view cookies in IE8

2012-06-15 Thread Daniel
ome reason, even though $this->passedArgs['min_x'] was not null. Also when I goto IE8->Developer Tools->Cache->View Cookie Information it says "Developer Tools Error: Could not get the cookie information." I tried in Chrome but I could not find the function t

Re: CakePHP Session lost / Facebook SDK / Cookies

2012-05-16 Thread John Hardy
Set your session security to low in config. It the referrer check that's generating a new session On Apr 19, 2012 5:55 PM, "Ralf Rottmann" wrote: > Hi there, > > I'm using the official Facebook PHP SDK but it seems as if this messes > with the Session. Any idea? > -- > > GrandCentrix GmbH > Lüder

Re: CakePHP Session lost / Facebook SDK / Cookies

2012-05-16 Thread Ryan Olton
Yes, the Facebook SDK starts a PHP session before CakePHP gets a chance to. In the Facebook SDK there is a file called "Facebook.php", and in the __construct function you'll "session_start();". If you comment out that line, CakePHP will be able to start it's own session just fine. Facebook s

CakePHP Session lost / Facebook SDK / Cookies

2012-04-19 Thread Ralf Rottmann
Hi there, I'm using the official Facebook PHP SDK but it seems as if this messes with the Session. Any idea? -- GrandCentrix GmbH Lüderichstrasse 2-4 51105 Köln, Deutschland Amtsgericht Köln | HRB 70119 | Geschäftsführer: R. Freygang, R. Rottmann, M. Willnow | USt.-IdNr.: DE266333969 -- Our

Missing cookies after closing browser for CakePHP

2012-04-07 Thread mercury12
I write 5 cookies in CakePHP 2 like this: $this->Cookie->write('atoken.n1', 'a'); $this->Cookie->write('atoken.n2', 'b'); $this->Cookie->write('atoken.n3', 'c'); $this->Cookie->write('atoken.n4&#x

Re: AuthComponent using Cookies

2012-01-18 Thread Angad Nadkarni
Thanks 100rk, you pretty much answered all I needed to know. Just realized that the Cookie overhead per request is just not worth it. Best use Sessions and scale them across multiple servers appropriately when the need arises. Your suggested solutions to getting it to use Cookies instead of

Re: AuthComponent using Cookies

2012-01-17 Thread 100rk
Generally, cookies are not designed to be overused (many cookies or large datasets stored in them), they are being sent to the server along with every request. If you _really_ want to substitute SessionComponent in whole application with CookieComponent, try to remap used class: class

Re: AuthComponent using Cookies

2012-01-17 Thread 100rk
All you need is this documentation page http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#creating-custom-authentication-objects Simple/straightforward way how to do what you want is this code in place: http://bin.cakephp.org/view/1497928407#modify configured for usag

Re: AuthComponent using Cookies

2012-01-17 Thread jeremyharris
Not sure where you heard/read about the scalability of sessions, but since sessions are server side you eliminate the possibility of tampering altogether. You could use sessions in the database instead, if you wanted. I've never heard of storing user session states in cookies before. --

AuthComponent using Cookies

2012-01-17 Thread Angad Nadkarni
Hi I've been trying to get AuthComponent to use Cookies instead of Session variables. I want to store user-information encrypted onto client-side cookies since they're a lot easier to scale than Sessions. I tried to do this by copying AuthController to /app/Controller

Cannot read Cookies in other method

2011-10-26 Thread Jiří
Hello, if inside a function trying this> $this->Cookie->write('userid',$userId[0]['User']['id'],true,3600); debug ($this->Cookie->read('userid')); Obtain a right value. But if i trying read value of cookie in some other function in same controller get always a empty value function ac

cookies

2011-08-11 Thread nkoss
I know it's in the manual and I have read and re-read it, but I just can't get cookies to work. I use $this->Cookie->write('surgeon', $this->data['Op']['Surgeon.id']); to set my cookie. First question is what do I need t

Setting cookies or sessions in afterFilter()

2011-01-21 Thread popcorn
Hi There seems to be a problem setting cookies or sessions in the afterFilter(). I have selected controller/action combinations making use of the afterFilter() in order to set a cookie. If you then go another page that doesn't use the afterFilter() and try to read the cookie, no problem. Ho

(Specific) IE8 loses session cookies

2010-11-22 Thread zpon
at the session ID changes between the previous page and this faulty site. Here is a snippet of the cookies available on the previous site and the cookies on the faulty site: Array ( [__utma] => ... [CAKEPHP] => cf6aaa77438e8025e0ea26a91f54b5a1 ) Array ( [CAKEPHP] => 79f1b7fe5c79

Re: CakePHP Stores the user login information to Cookies automatically

2010-11-15 Thread Amit Badkas
store the user information, then I > need to store them manually, then I need to load them, of course after > encrypting the username and password. > >in CakePHP 1.3.5 the Cookies will be valid for few days, unless the > user logout by him self. >Now 1.3.5, if the

Re: CakePHP Stores the user login information to Cookies automatically

2010-11-15 Thread John Andersen
ookie expires when I exit the browser, even if > I didn't logout. >         in CakePHP 1.2.8, if I want to store the user information, then I > need to store them manually, then I need to load them, of course after > encrypting the username and password. > >         in Cake

Re: CakePHP Stores the user login information to Cookies automatically

2010-11-14 Thread Muhaimen Ezabbad
urse after encrypting the username and password. in CakePHP 1.3.5 the Cookies will be valid for few days, unless the user logout by him self. Now 1.3.5, if the user used a public computer, then he closed the browser without logging in, then the website will log him in automatically.

Re: CakePHP Stores the user login information to Cookies automatically

2010-11-14 Thread John Andersen
      function  isAuthorized() { >             //parent::isAuthorized(); >             return true; >         } > >         and I didn't write anything in the login function in the > UserController. > >         My problem again the login informations stored in the cooki

Re: CakePHP Stores the user login information to Cookies automatically

2010-11-12 Thread Muhaimen Ezabbad
#x27;login'); $this->set('loggedIn',$this->Auth->user('id')); //$this->Auth->allow('signup'); } function isAuthorized() { //parent::isAuthorized(); return true; } and I didn't write anyth

Re: CakePHP Stores the user login information to Cookies automatically

2010-11-11 Thread Amit Badkas
gt;My Issue with the Auth. The Login Process works fine, but my issue > that the CakePHP stores the login data in the cookies automatically. > >How can I prevent the automatic storing of the login data to the > cookies? BTW, I tried to use the remeberme checkbox, but

CakePHP Stores the user login information to Cookies automatically

2010-11-11 Thread Muhaimen Ezabbad
Hello Experts, I'm new to CakePHP world, I'm working on an internal project to test myself. My Issue with the Auth. The Login Process works fine, but my issue that the CakePHP stores the login data in the cookies automatically. How can I prevent the

Re: Cookies--getting chocolate in my peanut butter (and vice versa)

2010-10-24 Thread cricket
assign a name to the > cookie, going with CookieComponent's default 'CakeCookie'. My plugin > components now use namespaces, 'Poll' and 'Comments'. eg. > > $this->Cookie->write('Poll.completed', serialize($this->_completed_polls

Re: Cookies--getting chocolate in my peanut butter (and vice versa)

2010-10-24 Thread cricket
t use Cookie anywhere? Should each plugin component then > fall back to the name of the plugin? > Argh! So I commented out the parts where I assign a name to the cookie, going with CookieComponent's default 'CakeCookie'. My plugin components now use namespaces, 'Poll'

Cookies--getting chocolate in my peanut butter (and vice versa)

2010-10-24 Thread cricket
I have two plugins, Comments and Poll. Both have a component, and each of those components uses CookieComponent. They also both handle Cookie settings in startup(). Unfortunately, it appears that they're sharing the same component instance, as the 'poll' cookie is being re-named to 'comments'. I'v

Cookies

2010-08-24 Thread voocake
Hey, i have a big problem with cookies. i set $this->Cookie->name = 'cookiename'; $this->Cookie->time = '9600'; $this->Cookie->path = '/'; $this->Cookie->domain = '.domain.com'; $this->Cookie->secure = false; $this->C

Re: Problems with cookies

2010-07-13 Thread Nabil Alsharif
Code and Context are required for assistance. On Tue, Jul 13, 2010 at 3:07 AM, Iancu Dragos wrote: > Hi, > > I have a problem using cookies in cakephp 1.3.2 > > When i write a new cookie it works but it gives me this error: > Warning (2): srand() expects parameter 1 to be

Problems with cookies

2010-07-13 Thread Iancu Dragos
Hi, I have a problem using cookies in cakephp 1.3.2 When i write a new cookie it works but it gives me this error: Warning (2): srand() expects parameter 1 to be long, string given [CORE/cake/libs/security.php, line 177] When i`m trying to read the cookie it returns me something like that

Re: Cookies from CAKE and other branding

2010-07-03 Thread Vangel
On Jun 29, 8:38 pm, "Larry E. Masters aka PhpNut" wrote: > Sounds like you are not using the proper settings in core.php to set the > cookie name. Look @ the doc comments in the file they should explain how to > do this. > > As for the "branding" override all of the templates from the core views

Re: Cookies from CAKE and other branding

2010-07-03 Thread Vangel
of cake doing tons of branding everywhere. (emails, > > cookies, css etc etc) > >  Its starting to look like some other frameworks already. > > I'm a bit sick of wingy .. people complaining about something they > obtained for free as if they're owed something. Is it

Re: Cookies from CAKE and other branding

2010-06-30 Thread designv...@gmail.com
> I'm a bit sick of wingy .. people complaining about something they > obtained for free as if they're owed something. Is it really too much > to ask for users to think a bit, do functional tests on their code and > read the ample documentation? (que attempted witty retort regarding > well that's o

Re: Cookies from CAKE and other branding

2010-06-29 Thread Shaz
gt; > I am quite sick of cake doing tons of branding everywhere. (emails, > > cookies, css etc etc) > >  Its starting to look like some other frameworks already. > > I'm a bit sick of wingy .. people complaining about something they > obtained for free as if they're o

Re: Cookies from CAKE and other branding

2010-06-29 Thread AD7six
On Jun 29, 5:01 am, Vangel wrote: > I am quite sick of cake doing tons of branding everywhere. (emails, > cookies, css etc etc) >  Its starting to look like some other frameworks already. I'm a bit sick of wingy .. people complaining about something they obtained for free as i

Re: Cookies from CAKE and other branding

2010-06-29 Thread Larry E. Masters aka PhpNut
> I am quite sick of cake doing tons of branding everywhere. (emails, > cookies, css etc etc) > Its starting to look like some other frameworks already. > > I have set cookies etc, but Cake still sets its own CAKEPHP cookie. I > absolutely do not want to give any indication to snoope

Cookies from CAKE and other branding

2010-06-29 Thread Vangel
I am quite sick of cake doing tons of branding everywhere. (emails, cookies, css etc etc) Its starting to look like some other frameworks already. I have set cookies etc, but Cake still sets its own CAKEPHP cookie. I absolutely do not want to give any indication to snoopers and sniffers about

Re: Mixing Sessions and Cookies?

2010-06-22 Thread DragonFlyEye
Shaz, Thank you for your reply. Question, though: why is there a distinction then between Cookie and Session? Seems like they're kind of the same thing? On Jun 22, 9:10 am, Shaz wrote: > Cake cookies are session cookies. If you want to set browser cookies, > use the php setcookie

Re: Mixing Sessions and Cookies?

2010-06-22 Thread Shaz
Cake cookies are session cookies. If you want to set browser cookies, use the php setcookie() function. http://php.net/manual/en/function.setcookie.php On Jun 21, 5:50 pm, DragonFlyEye wrote: > My cookie variables: > >         function beforeFilter() { >                 $this-&

Re: Mixing Sessions and Cookies?

2010-06-21 Thread DragonFlyEye
osis, I've discovered that one of my issues had > to do with the fact that I'm developing locally: because the virtual > machines I was browsing these pages on were using the IP address and > I'm developing internally, there was some confusion as to what the > proper cookie

Re: Mixing Sessions and Cookies?

2010-06-21 Thread DragonFlyEye
r cookie domain should have been. So now they both work consistently and right but for one detail: The cookies that are set to expire in a year are actually being shown by FireBug as Session cookies and indeed, are expiring the minute the browser window is closed. So, can anyone point me in the right

Mixing Sessions and Cookies?

2010-06-21 Thread DragonFlyEye
I'm a bit lost at the moment. I'm trying to use both the Cookies and the Session components in the same setting and I'm not sure, but it doesn't appear to be working correctly. What I want to be able to do is this: I want to be able to set a Session cookie for a visitor to

Re: Remove cakephp references from cookies

2010-06-14 Thread sherzo
Hi Ed Thank you very much, I fixed it :) Bests, Sherry Ed Propsner wrote: > > I haven't toyed with the cookies yet but it looks like they can be > configured in app/config/core.php > > Configure::write('Session.cookie', 'CakePHP'); > > HTH &g

Re: Remove cakephp references from cookies

2010-06-13 Thread Ed Propsner
I haven't toyed with the cookies yet but it looks like they can be configured in app/config/core.php Configure::write('Session.cookie', 'CakePHP'); HTH - Ed On Sun, Jun 13, 2010 at 7:50 PM, sherzo wrote: > > Hi all > > I wonder to know if any of you knows

Remove cakephp references from cookies

2010-06-13 Thread sherzo
Hi all I wonder to know if any of you knows how to remove the cakephp references from cookies name?? the name is cakeCookie[cookiename] at the moment!!! Thanks Sherry -- View this message in context: http://old.nabble.com/Remove-cakephp-references-from-cookies-tp28874781p28874781.html Sent

Re: cache is messing up cookies and session???

2010-03-20 Thread leafchild book
I have checked this page: http://book.cakephp.org/view/213/Cache try to control cache but it seems not working? even I set something,,, something browser is keep using cache view so it is not updating current file view. How can I stop cake to use cache

Re: cache is messing up cookies and session???

2010-03-20 Thread leafchild book
this is reproducible by everybody i have to refresh page to get right cookie information. how can I get right cookie information without refreshing? On Sat, Mar 20, 2010 at 12:57 AM, John Andersen wrote: > I would think that this is an issue with the browser cache! > Enjoy, > John > > O

Re: cache is messing up cookies and session???

2010-03-20 Thread John Andersen
I would think that this is an issue with the browser cache! Enjoy, John On Mar 20, 1:05 am, leafchild book wrote: > I said cache is messing up but not 100% sure but it's obvious that > cookie's info is not update unless page is refreshed > > How can I get right cookie info without refreshing p

Re: cache is messing up cookies and session???

2010-03-19 Thread leafchild book
> I think CakePhp's cookies is messed up by automatic cakephp chache. > > my shopping cart, order are starts showing previous one and I have to > refresh the page to see new order or shopping cart information. > > [issue a] > in shopping cart page, changing # of item or

cache is messing up cookies and session???

2010-03-19 Thread leafchild
I think CakePhp's cookies is messed up by automatic cakephp chache. my shopping cart, order are starts showing previous one and I have to refresh the page to see new order or shopping cart information. [issue a] in shopping cart page, changing # of item or removing item in shopping cart is

Re: Cookies to Cart question

2010-02-26 Thread Jeremy Burns
s. Jeremy Burns On 26 Feb 2010, at 08:50, WebbedIT wrote: > I haven't used cookies directly. I would personally store this in the > database and mark each record with the session id. This then allows > you to analyse abandoned carts etc. > > Paul > > Check out

Re: Cookies to Cart question

2010-02-26 Thread WebbedIT
I haven't used cookies directly. I would personally store this in the database and mark each record with the session id. This then allows you to analyse abandoned carts etc. Paul Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related ques

Cookies to Cart question

2010-02-25 Thread Dave
Whats the best way to save product info to cookie when user clicks add to cart? The cookie section in the book is rather slim... I simply want to have my "Product" cookie to have all items that have been added. So anarray that adds to the bottom array_push each new items but other thanthat wh

Question about session cookies

2010-02-22 Thread Peter M. Goldstein
e response to the Authentication JSON request. When I look at the staging environment, this set cookie header doesn't appear in the response. Note that the session cookie is served up on the initial request, so it's not some sort of global inability to write session cookies. Instead,

Re: cookies / localhost / mac

2010-02-02 Thread John Andersen
Have you set up your cookie settings in the controller (show us)? Also show us the code with which you are writing and reading the cooking information. Have you checked that you have given write permission to the cookie path? Enjoy, John On Feb 1, 6:11 am, phil wrote: > I am using cakephp 1.2

cookies / localhost / mac

2010-02-01 Thread phil
I am using cakephp 1.2 on my mac. i cannot get $this->Cookie->write to actually write a cookie. i am guessing this has something to do with my localhost development environment, but I can't find any information on this issue. can someone help? Check out the new CakePHP Questions site http://cak

Re: Authentication (cookies?) across different domains

2009-12-18 Thread Chad Smith
; > > On Dec 10, 4:48 pm, cakeFreak wrote: > > > > > Hey guys, > > > > > developing a multilanguage application I thought to have different > > > > languages according to the domain extension: > > > > > i.e. > > > > my

Re: Authentication (cookies?) across different domains

2009-12-17 Thread John Andersen
Dec 10, 4:48 pm, cakeFreak wrote: > > > > Hey guys, > > > > developing a multilanguage application I thought to have different > > > languages according to the domain extension: > > > > i.e. > > > mysite.com => english > > > mysite.it    

Re: Authentication (cookies?) across different domains

2009-12-16 Thread cakeFreak
gt; > > developing a multilanguage application I thought to have different > > languages according to the domain extension: > > > i.e. > > mysite.com => english > > mysite.it      => italian > > > How can I keep the user authenticated across the 2 do

Re: Authentication (cookies?) across different domains

2009-12-16 Thread John Andersen
uys, > > developing a multilanguage application I thought to have different > languages according to the domain extension: > > i.e. > mysite.com => english > mysite.it      => italian > > How can I keep the user authenticated across the 2 domains via > cookies? > > -

Re: Authentication (cookies?) across different domains

2009-12-16 Thread cakeFreak
Anybody about this? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsub

Authentication (cookies?) across different domains

2009-12-10 Thread cakeFreak
Hey guys, developing a multilanguage application I thought to have different languages according to the domain extension: i.e. mysite.com => english mysite.it => italian How can I keep the user authenticated across the 2 domains via cookies? --- I know tha

Re: How to use PHP to delete cookies when browser is close.

2009-09-09 Thread Brendon Kozlowski (Realm)
PHP is primarily a web centric language. Once the browser is closed, there really isn't a way to clear the cookies of a visitor, as there is no further way to interact with the web site, and thus the server that runs the PHP code. If you are thinking more along clearing your OWN cookies

Re: How to use PHP to delete cookies when browser is close.

2009-09-09 Thread Kau-Boy
delete the cookie. On Sep 9, 11:45 am, arif hossen wrote: > Dear all , > > Please help me. > How to use CAKEPHP to delete cookies when browser is close. > > -- > Regards, > Mohammad Arif Hossen > Software Enginner > Epsilon Consulting and Development Services(

Re: How to use PHP to delete cookies when browser is close.

2009-09-09 Thread hellfish
Is this for real?! On 9 Set, 10:45, arif hossen wrote: > Dear all , > > Please help me. > How to use CAKEPHP to delete cookies when browser is close. > > -- > Regards, > Mohammad Arif Hossen > Software Enginner > Epsilon Consulting and Development Service

How to use PHP to delete cookies when browser is close.

2009-09-09 Thread arif hossen
Dear all , Please help me. How to use CAKEPHP to delete cookies when browser is close. -- Regards, Mohammad Arif Hossen Software Enginner Epsilon Consulting and Development Services(ECDS) www.ecds-tech.com +88 01714355911 --~--~-~--~~~---~--~~ You received this

Re: Auth Component, white page when cookies disabled

2009-06-12 Thread Miles J
Auth does not use Cookies, so please make sure this is even an Auth problem. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegro

Re: Auth Component, white page when cookies disabled

2009-06-12 Thread cakephp_rocks
set debug to 1 you should able to see it On Jun 9, 3:44 pm, Marcel wrote: > Hi, > > When I disable Cookies I get a white page after logging into my website > (using Auth Component). > > Is there a way view an error page instead of just a whit

Auth Component, white page when cookies disabled

2009-06-09 Thread Marcel
Hi, When I disable Cookies I get a white page after logging into my website (using Auth Component). Is there a way view an error page instead of just a white page? Marcel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

encrypted Cookies problem - value of cookie

2009-05-24 Thread ar2oor
Hello, i have problem with encrypted cookies. Here i use encrypted cookie, and after writing cookie i hit f5 and i get strange random string.. if($this->Cookie->read('name')){ echo $this->Cookie->read('name'); }else{ $this->Cookie->write(&

Re: I blocked the cookies, let the 'Session.cookie' to transfer in my parameter.(but can't use)

2009-02-07 Thread Rimoe
gin like have a cookie. > > 2009/2/6 Rimoe > > Hi, >> everyone, thank you for your read this topic. >> >> I blocked the cookies. >> I don't want to save the 'Session.cookie' in cookies. >> only let the 'Session.cookie' to transfer

Re: I blocked the cookies, let the 'Session.cookie' to transfer in my parameter.(but can't use)

2009-02-07 Thread Rimoe
which one can help me? according to my function of redirect, why is it I can't login like have a cookie. 2009/2/6 Rimoe > Hi, > everyone, thank you for your read this topic. > > I blocked the cookies. > I don't want to save the 'Session.cookie' in cookies.

I blocked the cookies, let the 'Session.cookie' to transfer in my parameter.(but can't use)

2009-02-06 Thread Rimoe
Hi, everyone, thank you for your read this topic. I blocked the cookies. I don't want to save the 'Session.cookie' in cookies. only let the 'Session.cookie' to transfer in my parameter. I have let the function of redirect like this: function redirect($url, $st

Re: I can't use the cookies,how to login use the($this->Auth->login)

2009-02-04 Thread Rimoe
onent instead of interacting with php build >>> in session functions this allows everything to stay in cakephp scope >>> essentially and it is easier to work with because it does all the >>> session stuff for you. >>> >>> Also, you can modify cakephp to use

Re: I can't use the cookies,how to login use the($this->Auth->login)

2009-02-04 Thread Rimoe
w to just get login working, though I think you were >> saying you have that working. >> >> Next, use the session component instead of interacting with php build >> in session functions this allows everything to stay in cakephp scope >> essentially and it is easier to work with b

Re: I can't use the cookies,how to login use the($this->Auth->login)

2009-02-04 Thread Rimoe
nteracting with php build > in session functions this allows everything to stay in cakephp scope > essentially and it is easier to work with because it does all the > session stuff for you. > > Also, you can modify cakephp to use a database to store sessions > instead of cookies, chan

Re: I can't use the cookies,how to login use the($this->Auth->login)

2009-02-04 Thread Esoteric
cakephp scope essentially and it is easier to work with because it does all the session stuff for you. Also, you can modify cakephp to use a database to store sessions instead of cookies, change this in config/core.php Finally, stop modifying the cakephp core, its not going to get you anywhere, read

Re: I can't use the cookies,how to login use the($this->Auth->login)

2009-02-03 Thread Rimoe
Yes, when login , I have no use the Auth->login(),but when add user, i must use the Auth->login(), my php version is php4.3 when I set ['session.use_cookies', 0 ] in session.php, I can't log in. Thanks for your answer. by the way, dou you know why is it I can't change the value of session.use_

Re: I can't use the cookies,how to login use the($this->Auth->login)

2009-02-03 Thread Miles J
You do not use Auth->login(), its automatic. http://www.milesj.me/blog/read/5/using-cakephps-auth-component --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-p

Re: I can't use the cookies,how to login use the($this->Auth->login)

2009-02-03 Thread Rimoe
ini_set('session.save_path', TMP . 'sessions'); } } break; when I change the value of [ ini_set('session.use_cookies', 0); //changed the value] i can't login, why is it I can't change the value in here. If you know, please tell me very thanks. 2009/

I can't use the cookies,how to login use the($this->Auth->login)

2009-02-03 Thread Rimoe
hi,groups, I can't use the cookies, how can I use the ($this->Auth->login($this->data))to login. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group

Complex AJAX and Cookies issue Question with CakePHP

2009-01-15 Thread David Coleman
I’m designing a survey module using CakePHP. The purpose of this module is to be called from a foreign site by this code: http://global_survey.localhost/visitor_sessions/init/1234";> Obviously, localhost will be replaced with the production server when live

Re: Cookies Being Reset

2008-10-13 Thread villas
Hi mwcbrent, I wonder whether you already have a beforeFilter in users_controller.php? If so, maybe you need to include the line: parent::beforeFilter(); Just a guess. Best wishes. On Oct 13, 3:57 pm, mwcbrent <[EMAIL PROTECTED]> wrote: > Hi there, > > I'm using the built

Cookies Being Reset

2008-10-13 Thread mwcbrent
Hi there, I'm using the built in Cookies component to read, write and save my Cookies in my app. I declare my cookies in my app_controller.php in the beforeFilter method as follows: function beforeFilter(){ $this->Cookie->name = 'myCookie';

Re: How can I destroy cookies

2008-09-29 Thread Dr. Tarique Sani
On Mon, Sep 29, 2008 at 8:47 PM, Damelinks <[EMAIL PROTECTED]> wrote: > > Goodday Everybody, I set cookie by using the codes below > To destroy Cookies you have to eat them and preferably wash them down with milk Other than that have Cake instead - http://book.cakephp.org/vie

Re: How do I destroy cookies

2008-09-29 Thread DVD
set cookie"; > > } > > ?> > > and the cookie was actually set and are working as espected but I am > trying to destroy the cookie using the codes below. > > setcookie('users', 'NULL', mktime()-1, '/'); > ?> > > but it is

How do I destroy cookies

2008-09-29 Thread Damelinks
Goodday Everybody, I set cookie by using the codes below and the cookie was actually set and are working as espected but I am trying to destroy the cookie using the codes below. but it is not destroying the cookies. Please I need your help because I am using the cookies for users

Re: How can I destroy cookies

2008-09-29 Thread gmwebs
Have you had a look at the Cookie component? More info at http://book.cakephp.org/view/177/Cookies --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email t

How can I destroy cookies

2008-09-29 Thread Damelinks
Goodday Everybody, I set cookie by using the codes below and the cookie was actually set and are working as espected but I am trying to destroy the cookie using the codes below. but it is not destroying the cookies. Please I need your help because I am using the cookies for users

Re: Caching and autologin from cookies

2008-09-09 Thread Tankist
goBack"); $this->Session->del('Message.auth'); } } } return $this->Auth->user('role'); } Tankist: > Hello everyone. > > I have some trouble with Auth when using caching of main page. > I want that users will auto-l

Caching and autologin from cookies

2008-09-09 Thread Tankist
Hello everyone. I have some trouble with Auth when using caching of main page. I want that users will auto-login when they open main page. Login of auto login from cookies implemented in AppController::beforeFilter: if (!$this->Auth->user()) { $cookie = $this->Cookie->rea

HttpOnly support in Cookies to help prevent XSS

2008-08-30 Thread Hiero
Anyone thought about adding HttpOnly support to the CookieComponent to help reduce possible XSS attacks? http://us.php.net/setcookie While it would be easy to add this to the CookieComponent on my local install, would this severely impact any other functionality? --~--~-~--~~--

Re: Caching Cookies?!

2008-07-09 Thread b logica
You say that the cookie is set when the user logs in. Why, then, are you surprised that there's a *new* cookie when the user logs in? On Wed, Jul 9, 2008 at 11:35 AM, Kyle Decot <[EMAIL PROTECTED]> wrote: > > I am having a strange problem with cookies. when a user is logs in a

  1   2   >