Tuesday, October 24, 2006

S.A.H.A.R

SShy
AArty
HHuge
AAppealing
RRevolutionary

Name / Username:


Name Acronym Generator
From Go-Quiz.com



How to make a magica
Ingredients:

3 parts mercy

1 part ambition

5 parts beauty
Method:
Combine in a tall glass half filled with crushed ice. Add a little cocktail umbrella and a dash of caring

Monday, October 23, 2006

Castles in the air

I just love building castles in the air, big huge luxurious ones. As vast my dreams are as magnified the castle can be.

You can find me even picking the colours of its walls and decorating its interiors. I can go into deep details of how perfect things'd be in my castle.

Unlike all castles, mine don't have a fence or any big wall to keep them safe. Their walls are so fragile, easily broken, that's why I keep them up in the sky away from any mischievous surroundings.

Should I toughen the walls before I pick the paint, or should I keep it perfect far away?!. It's like protecting ur dreams before they even come true.

So if u ever saw me sitting alone with a big smile on my face, just know I just finished building up another castle.

Thursday, October 19, 2006

Callback Asp.Net Mystery

I'm facing a strange thing with Asp.Net and initiating callback to update a portion of the page containing a grid.

The problem is, it seems I can't update any other portion in the page nor can I add anything to the response body. I simply want to show an error message in case updating the grid fails. And mind u, even javascript fails to appear in the page after the callback.

I even tried redirecting to a separate error page but the response object seems to have no headers and can't redirect to any page!!

I hope I can post a solution for this, sure there's something I'm missing :(
Got any ideas?!

Monday, October 16, 2006

OWA Login

To manage a successful login to the Out look Web Access it's done thru the owaauth.dll on the outlook exchange server. You simply need to pass "the correct parameters", it took me a while to figure this out!!

Anyhow the owaauth.dll requires mainly those parameters:
Send a request with the destination, username and password. It's based on FBA(Form Based Authentication) , i.e: a POST is required

-Add the parameters to ur request body
-The Response object on a valid user login contains two cookies: (sessionid, cadata). So ur main check for a successful login can be the returned Cookies Count (Response.Cookies.Count > 2)

If your exchange mail server under SSL don't forget to use "https://" in ur exchanger server URL.

On LogOff, clear any cached credintials use this client side script:
document.execCommand("ClearAuthenticationCache",false);

The following article helped much:
http://www.infinitec.de/articles/exchange/webdavwithfba.aspx