On Thu, 25 Jan 2007 22:17:51 +0000 (UTC), "chieffan"
<webforumsuser@macromedia.com> wrote:
> The issue is I have never worked with session variables
before. I tried to
>set one and echo that after the success url in the login
but the page errors
>out.
>
> How can I set that and still pass the articleID so it is
readable in the url
>by the article detail page?
So, if someone clicks on an URL for a member-only article
(article.php?art_id=10, for example) they are redirected to
the member
login page, right?
Then if login is successful you need to send them to the
detail page
using:
header ("Location:
http://www.mysite.com/member/articledetail.php?art_id=".$_GET['art_id'
obviously substituting the URL for your actual site in the
above line.
Is that what you want?
--
Steve
steve at flyingtigerwebdesign dot com