Logo 
Search:

Asp.net Forum

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds

A logical query

  Asked By: Nisha    Date: Oct 25    Category: Asp.net    Views: 881
  

I have a Ineresting question here(Atleast I found it
to be)

I have a Page where theres a Menu Bar on the left
side.Sevral People can login
to the Application.Now the Admin of the Site has a
Right to delete or say disable
the Links in the Menu on the left side.But what I want
is that when the admin
disables or deletes the Link he should be warnes that
these number of people
are Using this link Presently and cannot be deleted or
a Confirm box
to check whther he wants to go ahead with the
delete.How will you do this??

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Herbert Weaver     Answered On: Oct 25

if the admin  is merely to alter/change/delete the actual link  itself the this wouldn't immediately affect the actual destination of that link.

so users who are currently using the destination of that link won't be affected.

and even if it was; the actual, current html has already been downloaded to their browser for the immediate, if the alteration changes that html then they will see it on their next visit to the link, or a refresh (if it still exists).

if the question  is that the admin actually change the link exactly at the same time a user clicks the link then this can be sorted by locking the application  during the alteration ... but personally I wouldn't bother, how often is this to occur - how likely is it that admin/customer actually clash time milliseconds - and even if they did ? so what - so the user gets his web experience messed up for a few milliseconds (who cares !) - its hardly a cashpoint machine is it !

 
Didn't find what you were looking for? Find more on A logical query Or get search suggestion and latest updates.




Tagged: