Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

page loading based on cookie value...alternative?

Status
Not open for further replies.

Ito2233

MIS
Sep 2, 2003
77
US
I have a cookie with a value that will control what page is loaded when the user types Apart from:

PRINT "Location: $url \n\n"; and the

and

print $query->redirect($url),

is there any other way to load a page based on cookie value?

Thanks
 
You could always read in the file with your script and have your script output it to the browser. But I don't see any adavantage to that over your other options.

What is it exactly you're trying to do?

 
When the user types in they are prompted to select a region (europe, asia, americas, etc). This information is stored in a cookie. Next time they type in I want the server to read the cookie and automatically send them the page that is applicable to their region.
The two options I listed in my first thread are the correct means for this, no?
Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top