Reply to Re: [PHP] Set session variable if link is clicked, do not want to use GET

Your name:

Reply:


Posted by Leif Gregory on 04/05/05 07:03

Hello Kent,

Monday, April 4, 2005, 6:21:41 PM, you wrote:
K> It would have been easy if i would have used a normal FORM and
K> would have had a button called "Add to cart". But i would like it
K> to be in url-style or using some <img ..> which i understand that
K> the BUTTON item does not support (or am i wrong?).

Button images are fine:
http://www.mompswebdesign.com/html/button_tag.html (just picked that
one at random).

Another option is to set a unique SESSION variable each time they
visit, and that unique variable is only good during that session. You
pass that variable in the GET request and then match it on the
following page. If they don't match then you know they bookmarked it
or fudged the GET request.


Cheers,
Leif Gregory

--
TB Lists Moderator (and fellow registered end-user)
PCWize Editor / ICQ 216395 / PGP Key ID 0x7CD4926F
Web Site <http://www.PCWize.com>

[Back to original 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

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