Thursday, October 8, 2009

Sharepoint - when you get the message that file is locked by yourself.

I was facing an issue while editing a heavy document. The xls document was getting crashed very frequently and then I was not able to check in my changes. In this scenario, the document didn’t open as expected and I received the following message in a File in Use dialog box:
FileName is locked for editing by 'another user'.

I searched on Google and found that it’s a common issue. As per the solution, we should open the document again only after 10 minutes as described in the link below:
[http://support.microsoft.com/kb/899709]

Have a better life after crash... time heals all wounds :)

Sunday, February 15, 2009

When to use an array of size zero ?

Question: Java provides the facility to have an array of size zero. Do we have any scenario when this zero size array can be used ?

Scenario1: Suppose, I have a method returning an array. So the method can return an array with values or null. If the code invoking method is not checking for null, can get an exception.
So sometimes it is better to return an array with size zero to avoid NullPointerException. It could be a good way to return nothing :)

Scenario 2: Think and put a comment please.....

Tuesday, January 13, 2009

SSL - How to decide if a web page is secure?

Whenever we talk about internet security, we use the word SSL. I found a very good description of SSL in a book but wanted to have something online. So while searching, I found a very nice and interesting article related to internet security and SSL. So just click the link below and feel more secure :)
http://info.ssl.com/article.aspx?id=10068

I will edit the same post whenever getting something interesting and easy to learn about SSL .....