You are here: Re: "Please enable your cookies" « All PHP « IT news, forums, messages
Re: "Please enable your cookies"

Posted by gmdunn on 02/02/06 06:54

You'll want to set them through one page that will set a cookie (to
anything) and the check if the value is set for that cookie on the
login page so you can display your error message.

Javascript as JO recommends would work well without having two steps
but what if they have javascript disabled?

As long as the login form is a seperate page you could always set the
initial cookie at index.php.

Or alternatively you could set it at the login form and generate the
error after they attempt to log in.

But really sessions should let you get around this requirement

Geoff

---
http://www.quicksilverforums.com
http://www.misterpink.com.au

 

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

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