Yes they are treated as two different pages. To inform the search engines that they are the same page, you need to use the canonical URL tag. Here's Moz.com's info about it : http://moz.com/learn/seo/canonicalization
You can also declare it to Google in Webmaster tools: https://support.google.com/webmasters/answer/1235687?hl=en
Bing also offers this functionnality: http://www.bing.com/blogs/site_blogs/b/webmaster/archive/2012/04/27/better-than-canonical-url-normalization.aspx
I hope this helps !