a simple redirect on register

Author Message

Jeroen de Jong

Monday 08 October 2007 9:51:48 am

What im trying to do is the following

- a anonymous user visits my site
- he sees a list of "products" and pick one to view the details
- "details" can only be viewed by members so he gets a access denied: please login or register (user/login)
-he chooses register (user/register) and fills out the required data
-he gets a feedback message: registration successful (user/success)

- the nextpage should be the page he initially wanted to see. (there is no confirmation needed)

I cant figure out a way to have the user/success page "remember" what the newly registered user was looking for.

Im thinking of setting a cookie but i need to write my own extention and since i've never done that im looking at other solutions first.

Anyone have one? or tips?

Please help.

Jeroen

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.