Refresh URL Cookie

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
theoph
Forum Commoner
Posts: 47
Joined: Wed Jul 30, 2003 5:26 pm
Location: Lexington, KY USA

Refresh URL Cookie

Post by theoph »

I have the following cookie:

Code: Select all

<?php setcookie(laos_fset,"http://{$HTTP_HOST}{$REQUEST_URI}"); ?>
Is there a way where I can also include in this cookie a command to refresh the URL that it contains?
Nay
Forum Regular
Posts: 951
Joined: Fri Jun 20, 2003 11:03 am
Location: Brisbane, Australia

Post by Nay »

I'm not really sure but, the refreshing of the content in the cookie is normally checked by the browser everytime you visit that page, or if you set that cookie again from a PHP file or what so ever.

Hope that helps,

-Nay
theoph
Forum Commoner
Posts: 47
Joined: Wed Jul 30, 2003 5:26 pm
Location: Lexington, KY USA

Post by theoph »

Just tested it on other browers and found the problem of not refreshing is with Apple's Safri. Mozilla worked fine.

Wonder why Safri is not doing this? Will check Apple's forums.
Post Reply