Wednesday, May 25, 2005

Run ASPX in Tomcat

Mainsoft, has developed a way for your asp.net pages to run in Apache Tomcat. Check out this site for additional information, and the best part is, it is free!!!

Posted by Hello

Sunday, May 22, 2005

PEBCAC

//user authentication code hereFormsAuthentication.Initialize();
FormsAuthenticationTicket ticket = new FormsAuthenticationTicket(1,
uid.Text,
DateTime.Now,
DateTime.Now.AddMinutes(30),
true,
string.Empty,
FormsAuthentication.FormsCookiePath);
string encryptedTicket = FormsAuthentication.Encrypt( ticket );
HttpCookie cookie = new HttpCookie( FormsAuthentication.FormsCookieName, encryptedTicket );
cookie.Expires = ticket.Expiration;
this.Page.Response.Cookies.Add (cookie);
this.Page.Response.Redirect("Default.aspx");

The above code used to work but just last week it provided wrong result. I was not able to login to Internet Explorer anymore, using a valid user name and password, however I could login to Firefox without any problems. In addition to that, not all computers in our department exhibit such behavior. There are computers that could login using IE but there are some that don't. I have check various websites for the issue and some says that WebUIValidation.js might be the culprit. I implemented the workarounds suggested but the problem persisted. After a couple more hours of debugging I've finally found the problem -- me.

Osiris Team


One of the most talented programming team I have a pleasure working with.
Posted by Hello

Sunday, May 15, 2005

Moving out ...

After 7 years of loyalty and dedication to my Alma Mater which happened to be also my previous employer, I decided to move for good. It's been 7 good years, and it's a pain to finally leave something that you are closely attached with. I have learned a lot and enjoyed every moment in that place. Financial reasons finally forced me to decide to leave and work overseas. Right now I'm currently working in a big bank here in Singapore, but I will always treasure the memories of my first job. To the people at the University of Cebu MIS and Computer Science department, I miss you a lot guys!!! Keep up the good work and make our Alma Mater proud.