Re: Techniques for passing data around

2011-11-21 Thread phpMagpie
Telling us what data you are passing around and for what purpose may give us more information to be able to help you. The only thing I tend to pass around is an ID or slug (within the URL) and from that you can pretty much find whatever you want for the page the person is wanting to view or

Techniques for passing data around

2011-11-19 Thread Daniel
I have used $this-Session-write and $this-Session-read to pass data around my Cake app. The problem with this method is that the user could have two or more browser windows on the go and a session variable could get overwritten. I was wondering if there is a way of preventing this, like using

Re: Techniques for passing data around

2011-11-19 Thread euromark
its not about the browsers each browser has its own unique session the problem is the tabs of one and the same browser - they all share the same session. so if you have for example 3 open tabs of the same website, they will most certainly intefere with each other. thats why I consider it a nogo