
Facebook Group for OSNews
Adam Scheinberg, May 5, 2007
To JPS
Adam Scheinberg, May 3, 2007

Virtual Mr. T
Adam Scheinberg, May 2, 2007
Batman Like You've Never Seen Him
Adam Scheinberg, May 1, 2007
Batman Like You've Never Seen Him
Adam Scheinberg, May 1, 2007
Project: Make Ginger Ale
Adam Scheinberg, April 30, 2007
Today's Random Thought: A Phish Setlist
Adam Scheinberg, April 30, 2007
Favorite Movies
Adam Scheinberg, April 29, 2007
Decemberists the Highlight of Coachella
Adam Scheinberg, April 29, 2007
PHP vs. ASP.NET
Adam Scheinberg, April 27, 2007
We have a new web-based client portal application we are going to use for my company extranet. However, because it was originally designed to be a hosted application, there are several variables involved in all areas that don't apply to us, since we host it ourselves. When using said portal, every URL looks something like: domain.com/login.aspx?QS=jasbndfiaubnfoaeuifwoeifbwfe The only difference is that the "QS" GET variable is even longer. I made the request of our developers to get rid of this query string for the login page, and the login page only. This is what that code looks like in PHP, inserted at line 1. if(!$_GET['QS']) { $_GET['QS'] = 'jasbndfiaubnfoaeuifwoeifbwfe'; } That's it. One line of code. In ASP.net, this cost me 3 hours of developer time. THREE hours. Then I asked our old developers to make a change to their code. It was doing a check in login if they are customers from the new app or the old one. If they are old, it processes the login. If it'they are new, it gives them an error message. So I said, instead of giving them the error, let's redirect them to /new-directory/login.aspx?email=[base64_encoded email]&password=[base64_encoded password]. This is that code in PHP:...