Session_End called at wrong time

akanihuu_at_yahoo.com
Date: 01/29/05


Date: 28 Jan 2005 16:04:57 -0800

I am building a ASP.Net web application using C# and added code to the
Session_End function in the Global.asax.cs to delete user files when
the session times out in ten minutes. I have a page that displays the
accounts in a datagrid with two columns. One column contains the
account name and the second contain a delete link to delete the
account. The problem I am having is that whenever I click the delete
link to delete the account, it is triggering a call to the Session_End
event to delete the user files instead of the account. I don't know
why this is happening and have tried many work around to fix this
problem, but have been unsuccessful. I would really appreciate any
help on this, thanks.



Relevant Pages

  • Re: Append to userid in My Documents?
    ... If an administrator deletes the user account and then specifies that the ... account and the new user files to distinguish them from the old files stored ...
    (microsoft.public.windowsxp.general)
  • Re: Upgarding iMac II - removing my identitiy
    ... When I say 'wipe', this doesn't have to be beyond file recovery - I just don't want my details accidentally used. ... then log in to that new account and delete your old account (choosing the option to remove all the user files for the old account immediately). ...
    (uk.comp.sys.mac)
  • Re: Folders appear to be making themselves hidden
    ... when he/she logs in.. ... as you log in with different accounts..the other user files are hidden ... make sure to sign in under one account.. ... set the folders to be hidden and they only contain word documents. ...
    (microsoft.public.windowsxp.help_and_support)
  • could not complete the operation due to error 80070402
    ... I am getting the above error message when attempting to ... delete a user's account in WIN XP Professional. ... deleting and keeping the user files. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: [Full-disclosure] PayPal acount removal: bug or feature?
    ... with more than twenty consecutive incorrect ... What paypal site were you using, ... how many unsuccessful attempts is a couple? ... to close this account if I don't remember the password. ...
    (Full-Disclosure)

Loading