Re: Usage DiskPageStore causes Session Swapping

2009-06-17 Thread Matej Knopp
What wicket version are you using? DiskPageStore has separate folder
for each session so I don't really see why this would happen.

-Matej

On Wed, Jun 17, 2009 at 8:28 PM, rajendar
medishettyrajendar.medishe...@gmail.com wrote:
 Hi,

 In one of our application, we are facing session swapping problem when we
 use DiskPageStore and this problem doesn't occur if we use HttpSessionStore.

 Let me explain you in more detail.

 This is policy Enrollment Application, we use Spring, Hibernate and Wicket
 Frameworks.
 We are using JDK serialization and the std SecondLevelCache/*DiskPageStore*
 *session* store.

 *Scenario:*
 Application works fine, when we are using only one in one Browser window.
  It seems that when two users are using the system, second user is able to
 see the first users data when he clicks back button.

 *Analysis*:
 Session id is different for both users, but while reading the page from the
 disk it somehow reads the wrong page.

 If I change the PageStore to HttpSessionStore, the same scenario works fine.


 Any inputs on this issue will be helpful.

 --
 Thanks,
 Rajendar


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Usage DiskPageStore causes Session Swapping

2009-06-17 Thread rajendar.medishetty


Initially we were using Wicket 1.3.3 and sometime back I upgraded to Wicket
1.3.5. I'm able to produce the scenario with both wicket versions.



Matej Knopp-2 wrote:
 
 What wicket version are you using? DiskPageStore has separate folder
 for each session so I don't really see why this would happen.
 
 -Matej
 
 On Wed, Jun 17, 2009 at 8:28 PM, rajendar
 medishettyrajendar.medishe...@gmail.com wrote:
 Hi,

 In one of our application, we are facing session swapping problem when we
 use DiskPageStore and this problem doesn't occur if we use
 HttpSessionStore.

 Let me explain you in more detail.

 This is policy Enrollment Application, we use Spring, Hibernate and
 Wicket
 Frameworks.
 We are using JDK serialization and the std
 SecondLevelCache/*DiskPageStore*
 *session* store.

 *Scenario:*
 Application works fine, when we are using only one in one Browser window.
  It seems that when two users are using the system, second user is able
 to
 see the first users data when he clicks back button.

 *Analysis*:
 Session id is different for both users, but while reading the page from
 the
 disk it somehow reads the wrong page.

 If I change the PageStore to HttpSessionStore, the same scenario works
 fine.


 Any inputs on this issue will be helpful.

 --
 Thanks,
 Rajendar

 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Usage-DiskPageStore-causes-Session-Swapping-tp24079378p24079732.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Usage DiskPageStore causes Session Swapping

2009-06-17 Thread Martijn Dashorst
I think we squashed a lingering thread local in 1.3.6 during request
detaching, which could cause this to happen.

Martijn

On Wed, Jun 17, 2009 at 8:52 PM, Matej Knoppmatej.kn...@gmail.com wrote:
 Latest  release in 1.3 branch is 1.3.6.

 -Matej

 On Wed, Jun 17, 2009 at 8:48 PM,
 rajendar.medishettyrajendar.medishe...@gmail.com wrote:


 Initially we were using Wicket 1.3.3 and sometime back I upgraded to Wicket
 1.3.5. I'm able to produce the scenario with both wicket versions.



 Matej Knopp-2 wrote:

 What wicket version are you using? DiskPageStore has separate folder
 for each session so I don't really see why this would happen.

 -Matej

 On Wed, Jun 17, 2009 at 8:28 PM, rajendar
 medishettyrajendar.medishe...@gmail.com wrote:
 Hi,

 In one of our application, we are facing session swapping problem when we
 use DiskPageStore and this problem doesn't occur if we use
 HttpSessionStore.

 Let me explain you in more detail.

 This is policy Enrollment Application, we use Spring, Hibernate and
 Wicket
 Frameworks.
 We are using JDK serialization and the std
 SecondLevelCache/*DiskPageStore*
 *session* store.

 *Scenario:*
 Application works fine, when we are using only one in one Browser window.
  It seems that when two users are using the system, second user is able
 to
 see the first users data when he clicks back button.

 *Analysis*:
 Session id is different for both users, but while reading the page from
 the
 disk it somehow reads the wrong page.

 If I change the PageStore to HttpSessionStore, the same scenario works
 fine.


 Any inputs on this issue will be helpful.

 --
 Thanks,
 Rajendar


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 --
 View this message in context: 
 http://www.nabble.com/Usage-DiskPageStore-causes-Session-Swapping-tp24079378p24079732.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.5 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Usage DiskPageStore causes Session Swapping

2009-06-17 Thread Matej Knopp
Latest  release in 1.3 branch is 1.3.6.

-Matej

On Wed, Jun 17, 2009 at 8:48 PM,
rajendar.medishettyrajendar.medishe...@gmail.com wrote:


 Initially we were using Wicket 1.3.3 and sometime back I upgraded to Wicket
 1.3.5. I'm able to produce the scenario with both wicket versions.



 Matej Knopp-2 wrote:

 What wicket version are you using? DiskPageStore has separate folder
 for each session so I don't really see why this would happen.

 -Matej

 On Wed, Jun 17, 2009 at 8:28 PM, rajendar
 medishettyrajendar.medishe...@gmail.com wrote:
 Hi,

 In one of our application, we are facing session swapping problem when we
 use DiskPageStore and this problem doesn't occur if we use
 HttpSessionStore.

 Let me explain you in more detail.

 This is policy Enrollment Application, we use Spring, Hibernate and
 Wicket
 Frameworks.
 We are using JDK serialization and the std
 SecondLevelCache/*DiskPageStore*
 *session* store.

 *Scenario:*
 Application works fine, when we are using only one in one Browser window.
  It seems that when two users are using the system, second user is able
 to
 see the first users data when he clicks back button.

 *Analysis*:
 Session id is different for both users, but while reading the page from
 the
 disk it somehow reads the wrong page.

 If I change the PageStore to HttpSessionStore, the same scenario works
 fine.


 Any inputs on this issue will be helpful.

 --
 Thanks,
 Rajendar


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 --
 View this message in context: 
 http://www.nabble.com/Usage-DiskPageStore-causes-Session-Swapping-tp24079378p24079732.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org