March 2008 - Posts

13
Comments

Putting your website in a maintanance mode based on a weekly schedule by anas

In this blog i will talk about how to redirect the website visitors to a page that display a " web site under maintenance" , you can implement this functionality in your Global application file ( Global.asax file) , you can use Application_BeginRequest...
Filed under: ,
1
Comments

User Profile Hive Cleanup, A service to help with slow log off and unreconciled profile problems. by anas

did your windows XP take a long time to loggoff ? My windows was taking more that a minute to logoff the user ,it just show me logging off , but the computer is Idle... this happened because there maybe a handle to a registry key that prevent the windows...
Filed under:
2
Comments

Canceling Linkbutton Clicked Event when the User tries to click it Again by anas

There is many reasons to prevent that , like preventing mutiple Database Calls , Or Even Preventing them from submitting the form twice and so save the bandwidth and server resources . this is a one solution for that Issue , Use a hiddenField control...
Filed under:
8
Comments

Tip/ Trick: Preventing Session Loss when using Cookieless sessions with TreeView and Menu controls by anas

By default .net runtime uses the cookies to remember the session Id between the requests , but when using Cookie less sessions ,the runtime inserts the Session Id to the requested url , this way the runtime can remember the session id and prevent the...
3
Comments

How To Prevent the Page from using its Output Cache Based On Some Condition by anas

Some times you may have a page with output cache enabled , and for some reason you don't want to use its output cache , Take this seanrio: you have a page that displays a Dynamic data , and you have 2 users Viewers: they just View your page. Editors:...
Filed under: ,
More Posts