It looks like problem with concurrent access to session files.
Standard advice in all such cases - try to set lower security level.
Actually, I don't know how can it help, but it is really common
advice.
Other advice - choose session storage engine that works better with
concurrent requests.
On
Yeah, I am interested in that matter too. I have a lot of ajax
requests and when I click some buttons multiple times while the
request is beeing processed, I get kicked out - i.e. the session is
destroyed and I end with the login form. So, what session storage
engine could be used? This is
Wow, setting the Variable Security.level to medium definetly did
the trick!!
Great! Thank you, Dr. Loboto.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to
Hello,
I have some issues with two CakePHP (current stable version)
applications regarding Auth.
When a user is logged in and loads multiple pages simultaneously, he
gets logged out. This happens for example when he follows a hyperlink
while the page is still loading or if he hits F5 twice.
interesting fix. thanks
On Sep 29, 5:15 pm, 3lancer.eu [EMAIL PROTECTED] wrote:
Hi,
but when you change the picture, the old picture is still stuck in the
cache, so to see the new pic the user needs to push F5... I can't
figure out how to refresh the page automatically.
any ideas?
just implmemented it works. lol
cool :) i ended up doing a md5 on time() :)
On Sep 30, 11:30 am, rocket [EMAIL PROTECTED] wrote:
interesting fix. thanks
On Sep 29, 5:15 pm, 3lancer.eu [EMAIL PROTECTED] wrote:
Hi,
but when you change the picture, the old picture is still stuck in the
sup guys
i have an upload script, that lets you upload your profile pic.
but when you change the picture, the old picture is still stuck in the
cache, so to see the new pic the user needs to push F5... I can't
figure out how to refresh the page automatically.
any ideas?
use javascript
http://grizzlyweb.com/webmaster/javascripts/refresh.asp
On Sep 29, 12:37 pm, rocket [EMAIL PROTECTED] wrote:
sup guys
i have an upload script, that lets you upload your profile pic.
but when you change the picture, the old picture is still stuck in the
cache, so to see
Yahoo (guidelines on caching and optimisations) suggests that you
never replace a picture under the same name.
So when updating your design, for example, you would link your logo to
logo-1.1.gif or something similar.
They particularly suggest this versioning type of setup for logos
and other
Hi,
but when you change the picture, the old picture is still stuck in the
cache, so to see the new pic the user needs to push F5... I can't
figure out how to refresh the page automatically.
any ideas?
Simplest way is to add some random query string at the end of the url,
like
I am developing a PHP-mysql database. It is noted that when the
browser window is refreshed the data is inserted again in the
database. unfortunately there is no unique keys that I can use to
verify the existance of the data, so as to prevent the multiple
insertion.
You should set some validation rules for your Model, and setup a
custom rule to check whether the submitted data is already in the
database, OR implement Model::beforeSave()
Hope that helps,
dr. H.
--~--~-~--~~~---~--~~
You received this message because you are
i am validating the data b4 inserting. but the data type is text..
the text will not be unique...
explain me clearly...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this
You should use the redirect after post pattern, using a HTTP 302 or
303 status code after saving your fields.
if($this-Model-save())
$this-redirect($url, $code, $exit);
On Dec 11, 12:58 pm, chowdary [EMAIL PROTECTED] wrote:
i am validating the data b4 inserting. but the data type is
Well, it's hard to provide an answer like this..
Can you paste some code and explain to us what are trying to achieve?
If you're inserting text and there is something else that needs to be
unique, you will need a custom validation rule for your Model.
On Dec 11, 12:58 pm, chowdary [EMAIL
15 matches
Mail list logo