linjuming:
I want to add two vars
$_SESSION['back_url'] and $_SESSION['current_url'];
Easier than you think.
$_SESSION['back_url'] = "enter your back URL here" ;
$_SESSION['current_url'] = "enter your current URL here" ;
Reading them back is as simple as
$back_url = $_SESSION['back_url'] ;
$current_url = $_SESSION['current_url'];
Having said that though, I suspect that just knowing this isn't going to take care of what it is that you are actually wanting to do.
What is the problem you are trying to solve?
Cheers
Rod
NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.
Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.