ScriptSession ID

View: New views
4 Messages — Rating Filter:   Alert me  

ScriptSession ID

by Jeff Ma-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

How does DWR create ScriptSession? Does it depend on HttpSession?

We found something weird. On Windows Vista, with Safari 4.03, inside iFrame, each DWR request generates a different HttpSession, but the same ScriptSession. This only exists on Safari4 on Windows, and only inside iFrame. Safari4 on Mac is fine (each DWR request uses the same HttpSession and same ScriptSession), so are IE6/7/8, Firefox/Chrome/Opera. Maybe a bug in Safari4 Windows version?

 

Regards,

- Jeff

 

 

 


Re: ScriptSession ID

by davidmarginian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I suggest taking DWR out of the picture here to give you a better idea of what is going on.  If a request is creating a new HttpSession I am not sure how this is related to DWR.

On Sat, Nov 7, 2009 at 6:59 AM, Jeff Ma <jeff.ma@iomeeting.com> wrote:

How does DWR create ScriptSession? Does it depend on HttpSession?

We found something weird. On Windows Vista, with Safari 4.03, inside iFrame, each DWR request generates a different HttpSession, but the same ScriptSession. This only exists on Safari4 on Windows, and only inside iFrame. Safari4 on Mac is fine (each DWR request uses the same HttpSession and same ScriptSession), so are IE6/7/8, Firefox/Chrome/Opera. Maybe a bug in Safari4 Windows version?

 

Regards,

- Jeff

 

 

 



RE: ScriptSession ID

by Jeff Ma-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi David,

 

I was not relating this issue to DWR. I was just wondering how DWR creates each scriptSession. The algorithm behind.

 

Regards,

- Jeff

 

From: dmarginian@... [mailto:dmarginian@...] On Behalf Of David Marginian
Sent: Saturday, November 07, 2009 11:31 PM
To: users@...
Subject: Re: [dwr-user] ScriptSession ID

 

I suggest taking DWR out of the picture here to give you a better idea of what is going on.  If a request is creating a new HttpSession I am not sure how this is related to DWR.

On Sat, Nov 7, 2009 at 6:59 AM, Jeff Ma <jeff.ma@iomeeting.com> wrote:

How does DWR create ScriptSession? Does it depend on HttpSession?

We found something weird. On Windows Vista, with Safari 4.03, inside iFrame, each DWR request generates a different HttpSession, but the same ScriptSession. This only exists on Safari4 on Windows, and only inside iFrame. Safari4 on Mac is fine (each DWR request uses the same HttpSession and same ScriptSession), so are IE6/7/8, Firefox/Chrome/Opera. Maybe a bug in Safari4 Windows version?

 

Regards,

- Jeff

 

 

 

 


Re: ScriptSession ID

by Lance Java :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

DWR generates a scriptSessionId in a DWR request on page load. This is saved to a javascript variable and sent with every subsequent DWR request from the page.

If for some reason you have new HttpSession objects being created, it seems like you have an issue with cookies. I would start by inspecting the request and response headers for the session cookie.

2009/11/8 Jeff Ma <jeff.ma@iomeeting.com>

Hi David,

 

I was not relating this issue to DWR. I was just wondering how DWR creates each scriptSession. The algorithm behind.

 

Regards,

- Jeff

 

From: dmarginian@... [mailto:dmarginian@...] On Behalf Of David Marginian
Sent: Saturday, November 07, 2009 11:31 PM
To: users@...
Subject: Re: [dwr-user] ScriptSession ID

 

I suggest taking DWR out of the picture here to give you a better idea of what is going on.  If a request is creating a new HttpSession I am not sure how this is related to DWR.

On Sat, Nov 7, 2009 at 6:59 AM, Jeff Ma <jeff.ma@iomeeting.com> wrote:

How does DWR create ScriptSession? Does it depend on HttpSession?

We found something weird. On Windows Vista, with Safari 4.03, inside iFrame, each DWR request generates a different HttpSession, but the same ScriptSession. This only exists on Safari4 on Windows, and only inside iFrame. Safari4 on Mac is fine (each DWR request uses the same HttpSession and same ScriptSession), so are IE6/7/8, Firefox/Chrome/Opera. Maybe a bug in Safari4 Windows version?

 

Regards,

- Jeff