Hmm.  Theoretically, in a listener method called by the event, you
could write to a session variable called hasMyEventProcessed, and set
the value to true.

Then, using a Mach-II plugin, within the preprocess point, you could
check that session variable to see if the event had run before in that
session, and if it had, clear the event queue, and programmatically
announce a different event to run in its place.  That would retain the
url, and not run the event the second time.

Just kind of shooting off the hip here though, if you provide some
more detailed information of what you're trying to do you will
probably get a better answer.

Brian

On Apr 1, 12:27 pm, hiral <shah.hira...@gmail.com> wrote:
> Hi all,
> I have an interesting problem. For the event to occur
> i construct a URL like
> index.cfm?event=myevent&myParam=value
>
> And so if a user hits refresh on the browser the event occurs again.
> I want to prevent this. but i also want to retain the url..
>
> whats an alternative
>
> Thanks,
> Hiral
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to Mach-II for CFML list.
To post to this group, send email to mach-ii-for-coldfusion@googlegroups.com
To unsubscribe from this group, send email to 
mach-ii-for-coldfusion-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/
Wiki / Documentation / Tickets: 
http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/
-~----------~----~----~----~------~----~------~--~---

Reply via email to