Setting Cookie....

This forum is for extensions for Joomla! version 1.0

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
velvys
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Wed Aug 08, 2007 9:24 am

Setting Cookie....

Post by velvys » Mon Aug 20, 2007 6:43 am

Hi,

I need to set  cookie when the index page is hit with some request variable.. 

were do I set the setcookie() function.. i have placed in the index.php file.. but it seems to be not set...

the URL hit will be

eg :www.mysite.com/index.php?target=253

if the target variable is set, i want to set the target cookie and store it in the DB during the user registration.

i have checked in the account creation section.. it worked fine there.. but i don't know how set the cookie in the initial  loading (ie., index.php) it self..

Thanx in advance
Vel
???

Locked

Return to “Extensions - 1.0.x”