Heya Derek,

The wizard does in fact create a record in the dmWizard table but only
to store all the details of the future object to be saved (in your
case to a table called something like [conference]). The conference
record is not created or stored in the db until the wizard is
completed.

Therefore, you could run a scheduled task to truncate the dmWizard
table each night or however often you want. The only problem this
would cause is if somebody was in the middle of a wizard, it would
start them again.

PLP's would be worse because the actual [conference] object is created
in the database. Besides the fact that PLP's are ... um.... well...
scarey ;)

If this isn't a viable option, you could look to recreate your own
wizard functionality (with a simple switch statement). At each step,
you can use a setData with the optional flag bSessionOnly="true". This
little known parameter saves the object to the users session instead
of to the db. Then, when your custom wizard is complete, you can
perform a regular setData without the bSessionOnly flag (or set it to
the default false) to finally save it to the db.

A down side to both the proposed options is that a record is created
in the refObjects table. Their is however a utility in the webtop to
clean up refobjects that would certainly need to be run if something
like this was publicly available.

Cheers, Mat.

p.s. The bSessionOnly flag basically puts the object into a users
session, so any subsequent getData's by that user will get the object
from their session and not the db until the object is saved to the db.



On May 16, 1:57 pm, "Derek Westfall" <[EMAIL PROTECTED]> wrote:
> I have a four-step process for the public to use to create a conference
> registration:
>
> 1) Display the terms of participation
>
> 2) Collect the user data (name, company, etc)
>
> 3) Preview the data to be submitted
>
> 4) Create the registration object
>
> Since a lot of people (and spiders) are going to be visiting the "Register"
> page, I don't want to create a database records until the end. I think that
> rules out using Wizard.
>
> I also remember reading here that PLPs are going away...
>
> Do I need to do this "old school" with a self-posting include and session
> variables?
>
> Thanks!
>
> Derek


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to