# Session cookies in IE7

**URL:** <https://www.ruby-forum.com/t/session-cookies-in-ie7/131486>\
**Category:** Rails\
**Created:** [March 10, 2008, 4:20pm UTC](https://www.ruby-forum.com/t/session-cookies-in-ie7/131486 "2008-03-10T16:20:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonlog](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/db5fbb/32.png) [@jonlog](https://www.ruby-forum.com/u/jonlog)\
**Post date:** [March 10, 2008, 4:20pm UTC](https://www.ruby-forum.com/t/session-cookies-in-ie7/131486/1 "2008-03-10T16:20:21Z")

</div>

I’ve come across an interesting problem that’s only present in IE7, not  
even IE6. I have an application with a number of different subdomains,  
a few of which are static (programmed in) and a few that are dynamically  
created by users. I have a login form that renders on every page  
allowing users to sign in from anywhere.

In Firefox, IE 6, Opera, and Safari this login works from anywhere and  
sets the session cookie that works across subdomains ([:session\_domain]  
= ‘.domain.com’). In IE 7 the login & session across subdomains works  
for all of the static subdomains but fails on the dynamic ones. I  
investigated and found that IE7 isn’t sending the cookie as a part of  
the request so rails generates a new session ID for each request. An  
even weirder thing is that it doesn’t send a new session cookie down to  
the browser, a new Session ID just turns up in the development.log for  
each of these requests.

Has anyone experienced something like this before? with or without IE7?  
What are some other things I could look at to figure out what’s going  
on?  
Why is this only happening in IE 7?  
Does it matter than I’m running it through Parallels?
