If you were getting the (incorrect) info added to your URL string, you were probably editing in the right place; but we need more context to advise correctly on how to make it work.
Is your link code inside or outside of <?php ?> tags? Outside will be outputting straight HTML and you would use something like
PHP Code:
<a href="http://mydomain.com/Default.aspx/?ID=<?php echo $_SESSION['customer_id'];?>">Link text</a>
If inside PHP, the link string will be echoed or added to a variable for output, and you would have something resembling
PHP Code:
$content .= '<a href="http://mydomain.com/Default.aspx/?ID=' . $_SESSION['customer_id'] . '">Link text</a> ';
Posting several lines around the place you are editing will help us help you.
Bookmarks