"Randell D." <pl*******************@news.group.com> wrote in
news:Rqjsb.372784$6C4.144848@pd7tw1no:
You could use an HTML META REFRESH tag to force the browser to refresh
if a cookie is not set...
How are you setting your cookies? Using non-PHP code (ie javascript?)
or straight PHP code? If you are using PHP, why do you need to set,
then re-read the cookie with a page refresh? Why not set the cookie
and have any remainder part of your code use the same vvariable/value
that you used when setting the cookie - From that point forward, any
link the user clicks on will read the cookie automatically from the
headers (if cookies are enabled).
does that help any?
randelld
Thanks - good suggestions all. This is my first PHP project, so I'm
learning as I go. The project is a small port/enhance from CF, and I
haven't played too much with the overall architecture, which has left me
with what I thought at first were oddities, but I'm getting used to them
(form validation pages reloading the form page if there's an error is
kind of kinky recursive, not expected on a scripting language :). Since
it's basically C with a few changes, it's not hard to learn (2 days to
port the site, 4 more to add database, signin pages, cookies, actual
field validation, mail support, etc). Pretty much finished with
"Beginning PHP" book, time to swallow the next one.