How to delete id from a table while closing the page....

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AmitDST
    New Member
    • Jun 2011
    • 1

    How to delete id from a table while closing the page....

    dear all
    I have developed a asp.net 2.0 dynamic web application. All things working good but when a user close/move the page of the explorer without using server control then the id of that record retain in the database.

    How should i removed that record from table if user dose not use the server control if that is unused???


    Regards
    Amit Sharma
    ASP.Net Developer
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    I'm not sure what you are talking about.

    A sever control is code that is executed on the server during the ASP.NET life cycle and generates HTML that is sent to the browser. People are then able to provide information and interact with the control in the browser...when it is submitted to the server, the control performs some logic that makes sense to that control.

    What control are you talking about?

    Did you create a record in the database for some reason?
    Could you use something other than the database to cache the information that your sever control uses? That way you only save data into the database that should be stored there.

    -Frinny

    Comment

    Working...