Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. how to clean the no use data after confirmation?

how to clean the no use data after confirmation?

Scheduled Pinned Locked Moved Web Development
databasesysadminhelptutorialquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    steven_wong
    wrote on last edited by
    #1

    Hello everyone: I have a problem that have confused me several days,here is the senario: Some times user may accidently close a page via which some operation may have been submitted to the database,in that case we can use a confirmation msgbox to avoid that. However,if the user really want to close that window ,all the data that have been submit to the database will be no use at all.of course,we can use a sever side code to solve this problem. what i dont know is when the user clicks "yes" (which means he really want to close the page)in the client side ,how can we triggle a server side code to clean all the data that has just been submit to the database?and after that how can we close the page? is there any one who can give me some suggestion? Thank you in advance!

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups