Google Groups Home
Help | Sign in
Bizarre session id behavior under IE
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Jim Storch  
View profile
 More options Jun 27, 8:55 am
From: Jim Storch <jimsto...@gmail.com>
Date: Fri, 27 Jun 2008 05:55:37 -0700 (PDT)
Local: Fri, Jun 27 2008 8:55 am
Subject: Bizarre session id behavior under IE
I have a haunted server.

Let me give you the scenario.  I have a program written in CherryPy
that we use on our local network to schedule patient transportation.
The server was running Fedora 4 and CP 2.3.  This week I upgraded the
server to Fedora 9 and CherryPy 3.0.3.  I had already ported the
application to 3.0 on my development box.

If you use the application via Internet Explorer, it creates a new
session id with every request.  If you use Firefox it doesn't.

I didn't want to take the server offline, so I grabbed a spare PC
thinking I would duplicate the condition on a test "server" while I
tracked down the problem.  I used the same Fedora 9 DVD and the same
code, literally extracting the same tar file from a flash drive -- and
it worked fine in IE.

Consider this snippet:

    @cherrypy.expose
    def show_id(self):
        return str(cherrypy.session.id)

http://192.168.10.12:8080/show_id <-- live server, NEW session id each
refresh
http://192.168.10.14:8080/show_id <-- test server, SAME session id
each refresh

Same code, same os, same libraries, same client machine & browser
doing the testing.  The only differences are the hardware; Dell server
vs. an HP desktop, and the live server runs on the same box as the
PostgreSQL database but I'm using file based sessions.

Lastly, sessions used to work just fine on this box before the big
update.

Any insights would be greatly appreciated.

Regards,
Jim Storch


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Robert Brewer  
View profile
 More options Jun 28, 2:21 pm
From: "Robert Brewer" <fuman...@aminus.org>
Date: Sat, 28 Jun 2008 11:21:41 -0700
Local: Sat, Jun 28 2008 2:21 pm
Subject: RE: [cherrypy-users] Bizarre session id behavior under IE

I wish I had some brilliant ones but I don't, even after examining the
session modules in 2.3 and 3.0 pretty thoroughly. Because it works in
Firefox but not IE, my first thought is that something's going wrong
with the cookie value in IE--the first thing I would check is whether
that id value (and path, etc) is getting round-tripped correctly, by
logging the cookie value on both response and request.

Robert Brewer
fuman...@aminus.org


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jim Storch  
View profile
 More options Jun 30, 8:01 am
From: Jim Storch <jimsto...@gmail.com>
Date: Mon, 30 Jun 2008 05:01:22 -0700 (PDT)
Local: Mon, Jun 30 2008 8:01 am
Subject: Re: Bizarre session id behavior under IE
Thanks for the suggestion, Robert.  I'll give that a try.

-Jim Storch

On Jun 28, 2:21 pm, "Robert Brewer" <fuman...@aminus.org> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google