Re: Loosing SESSION When Transitioning from https to http Using Session Component

2009-08-17 Thread bondo
I am having the same problem and here is the fix that I used: http://stackoverflow.com/questions/308659/session-not-saving-when-moving-from-ssl-to-non-ssl Hope that helps you. On Aug 17, 11:49 am, vb13 wrote: > Yes, I am doing this to save a find in a view. You are good Brian :). > > Except tha

Re: Loosing SESSION When Transitioning from https to http Using Session Component

2009-08-17 Thread vb13
Yes, I am doing this to save a find in a view. You are good Brian :). Except that the find is not a database call, it calls Salesforce via an API so I want to save a couple of seconds of a user's time. Still do not understand why Cake does this while I can use $_SESSION directly and everything w

Re: Loosing SESSION When Transitioning from https to http Using Session Component

2009-08-17 Thread brian
Use https for the redirect, also. Either that, or redesign your app so you don't require the session vars in the other view. Are you doing this to save doing a find() in the "view" view? On Mon, Aug 17, 2009 at 10:22 AM, vb13 wrote: > > I have a User Edit page that submits data over https /user/e

Loosing SESSION When Transitioning from https to http Using Session Component

2009-08-17 Thread vb13
I have a User Edit page that submits data over https /user/edit. The controller saves data and redirects via http to /user/view. In the process I use php session to read/write some data. If I access session data using Cake Session component, I loose my session. As a result I get redirected to a