Re: Sessions working on Local dev but not on server
I resolved the problem. Whatever the issue was it stopped when I updated the /cake folder on the server. On Oct 10, 10:22 pm, JTiki wrote: > I've recently been working on a project for a client. Its a simple E- > Commerce site and I decided to use Sessions for the cart. > > I got everything set-up and working 100% on my local dev area, but for > some reason when I went over to the server the sessions are not > carrying... > > I set-up a test under the action where I add items to the cart (/ > mycart/add) and it is showing that the sessions are created and > displays them correctly. However when refreshing the page, or going to > a different page (like /mycart/) the session seems to be destroyed! I > cannot figure this out... Can anyone help? > > I've set up an example below... > Session just added and showing > up:http://country.tikiwebproductions.com/mycart/add/2 > Then move to another page and it > disappears:http://country.tikiwebproductions.com/mycart/other -- 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, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Sessions working on Local dev but not on server
How can i check? On Oct 11, 3:38 am, "flo.kl...@googlemail.com" wrote: > Have you checked the db or filesystem if the session data is stored? > You also have to have cookies enabled, othetwise the session cant be tracked. > > JTiki schrieb: > > I've recently been working on a project for a client. Its a simple E- > Commerce site and I decided to use Sessions for the cart. > > I got everything set-up and working 100% on my local dev area, but for > some reason when I went over to the server the sessions are not > carrying... > > I set-up a test under the action where I add items to the cart (/ > mycart/add) and it is showing that the sessions are created and > displays them correctly. However when refreshing the page, or going to > a different page (like /mycart/) the session seems to be destroyed! I > cannot figure this out... Can anyone help? > > I've set up an example below... > Session just added and showing > up:http://country.tikiwebproductions.com/mycart/add/2 > Then move to another page and it > disappears:http://country.tikiwebproductions.com/mycart/other > > -- > Our newest site for the community: CakePHP Video > Tutorialshttp://tv.cakephp.org > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help others > with their CakePHP related questions. > > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.com For more options, visit this group > athttp://groups.google.com/group/cake-php -- 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, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Sessions working on Local dev but not on server
Have you checked the db or filesystem if the session data is stored? You also have to have cookies enabled, othetwise the session cant be tracked. JTiki schrieb: I've recently been working on a project for a client. Its a simple E- Commerce site and I decided to use Sessions for the cart. I got everything set-up and working 100% on my local dev area, but for some reason when I went over to the server the sessions are not carrying... I set-up a test under the action where I add items to the cart (/ mycart/add) and it is showing that the sessions are created and displays them correctly. However when refreshing the page, or going to a different page (like /mycart/) the session seems to be destroyed! I cannot figure this out... Can anyone help? I've set up an example below... Session just added and showing up: http://country.tikiwebproductions.com/mycart/add/2 Then move to another page and it disappears: http://country.tikiwebproductions.com/mycart/other -- 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, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php -- 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, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Sessions working on Local dev but not on server
I've recently been working on a project for a client. Its a simple E- Commerce site and I decided to use Sessions for the cart. I got everything set-up and working 100% on my local dev area, but for some reason when I went over to the server the sessions are not carrying... I set-up a test under the action where I add items to the cart (/ mycart/add) and it is showing that the sessions are created and displays them correctly. However when refreshing the page, or going to a different page (like /mycart/) the session seems to be destroyed! I cannot figure this out... Can anyone help? I've set up an example below... Session just added and showing up: http://country.tikiwebproductions.com/mycart/add/2 Then move to another page and it disappears: http://country.tikiwebproductions.com/mycart/other -- 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, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php