Best way to approach... Wizards and Multiple Browser Windows?

How have others got / would others get around the following problem?
I have a 4 page custom-built wizard to collect information about people and then, on the final step, insert that information into my PERSONS table. I use the same 4 pages as an Update wizard as well (I have a hidden item which is set either to 'CREATE' or 'UPDATE' depending on whether the wizard is in CREATE "mode" or UPDATE "mode" which I can then use in conditions to tell the app which process to run.) This works nicely and by using the same 4 pages for both my update and create wizards it means I need half as many pages.
When a user enters page 1 of the wizard in UPDATE mode, pages 1, 2, 3 and 4 are populated with details of the person record they are updating. They can then change the values they wish, navigate to the end of the wizard with the "Next" button and then save the changes.
When a user enters page 1 of the wizard in CREATE mode, I clear the cache for pages 1, 2, 3 and 4. The user can then navigate through the pages using the Next button and then click "Save" to save the new person (perform the INSERT into the DB).
The problem comes when the user is half way through an update wizard and then, for some reason known only to the user, decides to open a new browser tab/window and start a Create Wizard in this new tab. Starting the Create Wizard has the effect of clearing the cache for the 4 pages which is an issue for when the user goes back to his other tab and tries to continue with the Update Wizard he was half way through (because all the items will have been NULLed). This problem occurs essentially whenever the user initiates one wizard (CREATE or UPDATE) when he is already half way through another one: One of the wizards is always going to get "messed up".
I would be interested to hear how others have dealt with this problem in the past? Somehow limit the user to having one Wizard open at a time? Or something else?
All/any comments/thoughts/suggestions much appreciated,
Thanks
Andy

Hello,
Well the easiest way around it is user education. Just put an information blurb on the right that says.
>>
Running this wizard in multiple browser windows or tabs will/could cause malformed data to be saved.
>>
Just like when you do online credit card transactions and they tell you not to click twice or you get charged twice.
The problem is that the same browser , if in different windows or different tabs, will share the same session.
You could maybe store all your information in a collection or something and not save or clear cache till the end, but that seems like overkill, just put some text in there that says don't do this!
Carl

Similar Messages

  • Is this possible and the best way to approach this?

    hello all, back again with more questions
    What I would like to do is load an external swf (preloader) into a container swf, when the preloader swf is loaded, run code from the preloader's document class that will check to see if the container swf is fully loaded.  Once the container swf is fully loaded, load in another swf and unload the preloader swf.
    I would like to keep all code in external classes and off timelines while creating a situation where I can load this preloader swf into any parent swf and do that check.  is this possible and the best way to approach this?
    any advice/help would be great.

    Why not just do it the more straightforward/normal way and use the preloader to load your other files? The preloader would load the 'container' you have now, and when it's done load the other swf you mentioned.

  • What is the best way to approach this?

    "php 5.3.x + oracle 11g R2 XE 11.2.x.x"
    Hello everyone,
    I'm quite new to oracle (2-4 months) and php(2 weeks).
    I have one query with results that needs to be reused in several parts of my website. I can't seem to find the equivalent of the mysql_data_seek in Oracle. I wanted to reset the cursor/pointer of oci_fetch($result) so that I can scroll the result again.
    So far this are what I have come up:
    A. On first fetch put the the results in a php array and call the array later on.
    B. Do the query again.
    C. Keep on looking for a mysql_data_seek equivalent and fail.
    I'm leaning towards option 'A' but I just wanted to consult the experts.
    Thank you!

    Moved to: What is the best way to approach this? (oci_fetch problem)
    Edited by: m.davide on Oct 23, 2012 2:21 AM
    Edited by: m.davide on Oct 23, 2012 2:22 AM

  • What is the best way to open emails and attachments without using wifi?

    For I-phone and I-pad, what is the best way to open emails and attachments without using wifi?  I turned off wifi in my settings but my boss thinks there may be another way and a better way to use something else instead of wifi.  Any help would be appreciated!  Thank you!

    Thanks!  That is a very good question you post.  My boss asked me that and I am assuming that he is having issues with using wifi wherever he is at.  My boss is the kind of person that when he asks something you look into it and ask him no questions...he's the only one asking questions!  But thank you for your response I will tell him the information you told me and hopefully that will help!

  • Best way to create tasks and assign to sharepoint groups

    Hi everyone, I have a custom list which contains newsletter info that is to be seen by around 400 groups (they are stores) and then I need them to mark each list item as 'completed'
    I have been trying to figure out the best way to do this and decided to keep the custom list and somehow link it to a task for each item in the list. We have nintex so was thinking of creating a workflow to create a separate task for each group (store) so
    they can mark it as completed.
    Is this the best way to go about it or am I completely off track?
    Basically all I need is a list which contains around 30 items and around 400 groups (stores) which contain users (store staff) to be able to mark items on the list as completed so it recognises that each store has completed each task.
    Thanks

    Hi  ,
    According to your description, you want to find the best way for creating tasks for 30 list items and assigning the task to around 400 groups.
    For the workflow, it is heavy  that  you need to create around 12000 (30*400) tasks .  In my opinion, the best way is to do with a custom timer job. For more information, you can refer to the
    blog:
    http://www.splessons.com/2013/12/create-a-timer-job-in-sharepoint-2013/
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Eric Tao
    TechNet Community Support

  • Best way to import data to multiple tables in oracle d.b from sql server

    HI All am newbie to Oracle,
    What is the Best way to import data to multiple tables in Oracle Data base from sql server?
    1)linked server?
    2)ssis ?
    If possible share me the query to done this task using Linked server?
    Regards,
    KoteRavindra.

    check:
    http://www.mssqltips.com/sqlservertip/2011/export-sql-server-data-to-oracle-using-ssis/
          koteravindra     
    Handle:      koteravindra 
    Status Level:      Newbie
    Registered:      Jan 9, 2013
    Total Posts:      4
    Total Questions:      3 (3 unresolved)
    why so many unresolved questions? Remember to close your threads marking them as answered.

  • Best Way to Stack 2d and 3d in a Composite

    Hey everyone, it seems I'm really on a 3d binge with Photoshop CS6. It's just a blast! Anyway, I'm looking to figure out the best way to stack 2d and 3d items together in the same document, and maximize the editibility...
    I'm working on a digital room setting, and I have part of the room in 3d and part in 2d. So, for example, the walls, ceiling, floor, table, chairs and corner hutch are 3d, but the regular hutch and buffet server are in 2d.
    - The table and chairs need to be in the foreground
    - The regular hutch and server are behind the table and chairs
    - The corner hutch needs to be behind all other pieces of furniture
    So, you may be catching on by now to my little dilemna... I want all the 3D items to have the same lighting and reflect off one another, however, I need the 2d layers to somehow fit "inbetween" the 3d objects. The simple question is, how can this be done? Is there a way to mask the foreground 3D objects so that they appear to be in from of the 2D objects? My only current solution is this:
    - Move the whole 3D layer (the scene layer) all the way to the back
    - Make the final decision on the position of the table and chairs
    - Hide all other meshes in the scene besides the table and chairs
    - Render, so the edges are clean
    - Load the newly rendered 3D layer as a selection (which loads the table and chairs only)
    - Either create a new layer from the selection of the rendered 3D layer, or mask the 3D layer so that the table and chairs appear to be in the foreground
    I didn't anticipate this post being this long, so I apologize,... but as you can assume, the method above means I can no longer edit/reposition/scale the 3D at all, so if there's a better way to stack these room elements I would be extremely grateful to whoever knows how!
    Thanks!
    Andy

    First, I was wrong about layers needing to be hidden to prevent their appearance being included in a new Postcard. I misunderstood something that happened when working with a 3D document a while ago.
    Materials support transparency/opacity. A material has an opacity control that can use a texture. The material opacity percentage is multiplied by the opacity of the texture.
    When a Postcard is created, its default material's opacity control will contain an instance of the texture that's in the diffuse control, which is a PSB file containing the 2D layer (pixels, Shape, Smart Object or Group) from which the Postcard was created.
    Here is an example. Two solid Pyramid meshes and a Postcard of a cloud Shape layer:
    The Shape layer from which the Postcard was created is in the document that can be opened by picking Edit in the dropdown of the buttons highlighted above:

  • If I have multiple browser windows open (not tabs, windows) and I close 1 of them, why do ALL browser windows close?

    If I have multiple browser windows open (not tabs, windows) and I close 1 of them, why do ALL browser windows close?

    How are you closing the window?
    Are you using the File menu or the close X on the title bar?
    Use Alt + F to open the File menu with the Close Tab entry visible (doesn't work with the mouse).

  • Best way to handle audio and video?

    Can someone give me suggestions on best way to handle audio and video clips. 2 issues:
    Audio- I want to avoid problems for visitors who may need to install something to listen, and would like them to be able to remain viewing page while listening. I understand how to set up the Iweb player option, and I understand how to simply link to a mp3 file that relies on the visitors player. I'm thinking I need to "embed a player" (?) which is something I haven't dealt with yet.
    Video- I have a link to a .mov file. It plays it in either a real small box, or if you enlarge it , the image deteriorates. Is there a better way to handle this?
    http://www.imaginerecoveryonline.com/IMAGINERECOVERYONLINE.COM/THE_JOURNEY_1.htm l
    Thanks for any help

    Yes that should work for what you want.

  • Best way to move data and programs to another profile on same Mac?

    Hello,
    What is the best way to move data and programs to another profile on the same Mac? I have a user who's profile is corrupt, I know that most programs will work on both the new and old profile however when trying to copy the Desktop folder, or Documents folder I am getting permissions denied.
    Sort of like weeding a garden, I'm hoping I do not have to pick the data in each folder and copy individually.
    Thanks for your help!
    Johnathon

    This usually means that a configuration or preference file is corrupted.  In this user's /Home/Library/Preferences/ folder locate any preference files associated with iLinc and drag to the Trash.
    I would also check in the /Home/Library/Caches/ folder for a file or folder associated with iLinc and delete as well.
    See if the problem is resolved in the user's normal account.
    It's not that you cannot copy data from account to account, but doing so causes a lot of permissions issues that must be resolved.  The MacFixit article I linked above shows what you need to do after transferring from one account to another in order to change permissions on the "foreign" files to those of the destination account.

  • Air mobile best way to implement drag and drop

    Hi all,
    I'm developing an application which allows people to drag and drop certain panels.
    But the dragmanager isn't optimized for the air mobile platform.
    What is the best way to implement drag and drop at the moment?
    Write it all yourself or are their some utility classes that can help?

    Hi all,
    I'm developing an application which allows people to drag and drop certain panels.
    But the dragmanager isn't optimized for the air mobile platform.
    What is the best way to implement drag and drop at the moment?
    Write it all yourself or are their some utility classes that can help?

  • With supervised ipads, what is the best way to transfer photos and videos from the ipad to the PC? Wireless transfer is not an option in our circumstances

    With supervised ipads, what is the best way to transfer photos and videos to the PC? Wireless transfer is not an option in our circumstances.

    There are only two ways of transfering things on the iPad.
      - via WiFi
      - via usb cable
    From what I have read, you need to connect to iTunes on the supervising PC.
    Robert

  • Best way to backup Iphoto and Itunes?

    I just purchased a 2TB Timecapsule and after reading addtional reviews I am reconsidering my purchase. What is the best way to backup iphotos and itunes? The idea of backing up the data wirelessly and seamlessly with time machine was a what encouraged me to purchase Apples solution. However I am seeing alot of TC's are dying after their warranty expires which is a deal breaker as I have a newborn and do not want to lose pictures.
    My 2009 MBP memory is nearly full and my photos eat memory. I would like a solution that allows me to access previous photos etc without relying on the MBP HD in the event it is stolen, crashes etc.
    The same holds true for itunes which I rarely use now that I have Spotify, however I do not want to lose my itunes catelog in two years either, but it would be great to have them off my MBP HD, but readily accessible if necessary.
    The literature on purchasing cloud storage is pretty scarce (Icloud!?, Amazon?)
    Any insight is greatly appreciated, and I am sure I will have followup questions as I need to resolve this soon now that I have a 2 week window to return the TC.
    Thank you!

    Welcome to Apple Discussions!
    Presumably, the old iMac is pre-Firewire? If it is, it really would be very slow for backing up. You can use these methods to network the two machines on my FAQ:
    http://www.macmaps.com/network9X.html

  • Best way to delete transcoded and proxy media?

    Hello,
    I am trying to free up some disc space and am curious what is the best way to delete transcoded and proxy media in fcpx?  I know I can open up a library bundle and delete the folder, but is this safe?  There must be a better option...
    Thanks,
    Austin

    Austin Samuel wrote:
    Hello,
    I am trying to free up some disc space and am curious what is the best way to delete transcoded and proxy media in fcpx?  I know I can open up a library bundle and delete the folder, but is this safe?  There must be a better option...
    Thanks,
    Austin
    I don't know of any other way.
    Proxy and Transcoded media can always be re-generated if the original files are in place.
    If this question refers to your system drive then a BIG suggestion is to aquire a fast dedicated media drive.
    Al

  • My iPad screen is not responding, whats the best way to clean it and what could be the problem, its 2 days old

    my iPad screen is not responding, whats the best way to clean it and what could be the problem, its 2 days old

    Braunzoes wrote:
    my iPad screen is not responding, ...
    Try a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430
    Braunzoes wrote:
    ... whats the best way to clean it ...
    How to Clean Apple Products
    http://support.apple.com/kb/HT3226
    Braunzoes wrote:
    ... its 2 days old
    iPad User Guide iOS 6

Maybe you are looking for

  • Credit memo request(SO) w.r.t Invoice

    Hi want to create a Credit memo request (sales order) with respect to a invoice. Can any body suggest me a bapi or Fm which will directly create a sales order with input as invoice number? Also all mandatory import export parameters to be filled? Tha

  • JDBC Adapter-XML Document Name

    I am working on XI 2.0 and need to change the XML document name I am receiving from an inbound JDBC adapter.  The document I am receiving is: <resultset>   <row>     <col1>ABC</col1>     <col2>123</col2>   </row> </resultset> I want to receive: <MyDo

  • How do I update Table DFKKTHI (Aggregate Invoice posting)

    Hi, I need to implement the functionality of Aggr. Inv. posting for the client (Distributor). For this the user needs to do the following 1.     Invoice individual bills (EA19 / EASIBI). [Creates an entry in DFKKTHI table] 2.     Run Transaction REDI

  • Whenever it is not active, Firefox Mobile 10 constantly uses 10-40% CPU

    Samsung Galaxy S Infuse 4g (aka "Galaxy S 1.5") with Gingerbread. While it is the active application, Firefox seems to be using reasonable amounts of CPU. If it is not active, though, it constantly uses 10-40%, until it gets background killed, which

  • Calling GUI jar from C++ and setting parent for JDialog

    Hi, i am calling a GUI jar from in C++ code using ShellExecuteEx API as follows. l_sei->cbSize=sizeof(SHELLEXECUTEINFO);           l_sei->fMask = SEE_MASK_NOCLOSEPROCESS;           l_sei->hwnd =l_hwndFound;                     l_sei->lpVerb = "open";