Jump to content

session redirect problem


dflow

Recommended Posts

I would use the "full path" to the redirect page so you can use the code no matter what "level" the redirect happens in your site.

 

header( 'Location: http://www.yoursite.com/new_page.html' ) ;

 

Also, you might check for a specific value in your $session variable:

 

if ($session == "Y") {

 

 

I would use the "full path" to the redirect page so you can use the code no matter what "level" the redirect happens in your site.

 

header( 'Location: http://www.yoursite.com/new_page.html' ) ;

 

Also, you might check for a specific value in your $session variable:

 

if ($session == "Y") {

 

 

 

thanks

 

any other ideas?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.