You are here: Re: Newbie question: how to save user id on user's computer « PHP Programming Language « IT news, forums, messages
Re: Newbie question: how to save user id on user's computer

Posted by Oli Filth on 11/02/05 17:07

Martin wrote:
> I would like to give a registered user of my website the option to
> save his user id on his computer such that it will be pre-entered the
> next time he goes to the log-in page.
>
> It's my understanding that to do this I would write the information to
> a cookie (after he successfully logs in with the option checked). What
> I'm not clear on is, how do I get the userid from the cookie into the
> text box on the log-in page? Do I read the cookie when he "hits" the
> log-in page and then load the text box before I send out the page?
>

Most modern browsers now support auto-completion of text boxes, which
is completely unaffected by anything you do in PHP.

I guess you could use the cookie method to override this behaviour,
though.


--
Oli

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация