#25786 [Asn]: PHP website uses cookies to remember last search phrase in search box
| From: | tipsen at imada dot sdu dot dk | Date: | Thu, 04 Dec 2003 11:25:04 +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-22371@lists.php.net to get a copy of this message | ||
ID: 25786
User updated by: tipsen at imada dot sdu dot dk
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:
I was using IE6 on a W2K platform at the time. I just checked and it
seems like the "strlen>0" condition actually works!
I tried using the manual-pages like I normally do and discovered that
I'm using Alt+s to focus the search field as soon as it is displayed in
the browser. After focussing the field I begin typing my search phrase
but most of the time the field is filled with my last search phrase
just before I begin typing and I need to delete the old search phrase
or focus the field again by pressing Alt+s.
It is a minor problem but when you're using the php manual 30-50 times
a day it becomes annoying when you perhaps only reuse your old search
phrase one or two times!
I've actually considered disabling cookies just too avoid this
"feature" :-)
Previous Comments:
------------------------------------------------------------------------
[2003-12-03 11:54:50] goba@php.net
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...
------------------------------------------------------------------------
[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..
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/25786
--
Edit this bug report at http://bugs.php.net/?id=25786&edit=1