#25786 [Asn]: PHP website uses cookies to remember last search phrase in search box

From: Date: Wed, 03 Dec 2003 16:54:51 +0000
Subject: #25786 [Asn]: PHP website uses cookies to remember last search phrase in search box
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-22368@lists.php.net to get a copy of this message
ID: 25786 Updated by: goba@php.net Reported By: tipsen at imada dot sdu dot dk Status: Assigned Bug Type: Website problem Operating System: - PHP Version: Irrelevant Assigned To: goba New Comment: As you can see the implemtantion of searchHistory() in http://www.php.net/userprefs.js, you can check that we do check the length of the input field if there is any content in it, and only put in the previous search term, if there is nothing typed in there... This solution might not fit all browsers. We have introduced that check long ago, at a similar user request, and that user was satisfied with this solution, so it worked in his browser. Since you have not provided info on what browser you use, it is quite hard to say anything about the problem... Previous Comments: ------------------------------------------------------------------------ [2003-12-03 07:11:46] mail at andybev dot com My main problem with this 'feature' is not so much that it is annoying, but more because the previous search phrase is inserted long after the text box is loaded - which as mentioned overwrites whatever you're typing. So how about 'remembering' the text a lot earlier, so that when you start typing in a search, it is not overwritten. ------------------------------------------------------------------------ [2003-10-08 12:17:49] tipsen at imada dot sdu dot dk sniper: Unfortunately I wasn't able to locate the right category and regrettably your comment didn't enlighten me further... goba: Sounds promising - looking forward :-) ------------------------------------------------------------------------ [2003-10-08 05:10:21] goba@php.net A better search aid is in the works, and while adding that to our feature set, we will add a setting for people to disabled this "annoying feature". ------------------------------------------------------------------------ [2003-10-08 04:40:18] sniper@php.net It would help if you submit these kind of bugs to the right category.. ------------------------------------------------------------------------ [2003-10-08 04:20:59] tipsen at imada dot sdu dot dk Description: ------------ My "problem" is an annoying feature/bug on the main website of PHP. The search box remembers my last search phrase and I can't find a way to avoid it other than deleting my cookies. I'm certain that this behaviour is a feature of the search function but I find it rather annoying since I rarely search for precisely the same stuff several times in a row. Normally I search for different stuff and I tend to use the keyboard shortcut (Alt+s) right after the search box appears in my browser which is normally before the entire page has finished loading. However when the page has finished loading the old search phrase is inserted into the search box and often my new search phrase is overwritten which is quite annoying! I hope you would consider removing this feature or at least make it customizable by the users (like the language settings etc). Have a nice day :-) Cheers, Tommy Ipsen ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25786&edit=1

« previous php.mirrors (#22368) next »