fileupload session

UI Components for JSF
Post Reply
timothy.yip
Posts: 16
Joined: 11 Oct 2009, 19:15

20 Nov 2009, 11:48

Hi,

I've having this problem where the multipart form/data post request is using a different session key than the one they are browsing the page with (used to identify log in). Anyone have experience with this phenomenon.

Thanks

Tim.

timothy.yip
Posts: 16
Joined: 11 Oct 2009, 19:15

20 Nov 2009, 14:38

I've created a minimal sample app and I'm getting the same thing.

Basically Uploadify's flash widget creates it's own session upon upload, which causes viewRoot expired exception because as far as JSF is concerned, it never created the viewroot for the widget to exist in the first place for submission.

I'm using glassfish v2.1 and upgraded its JSF to mojarra 1.3.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

22 Nov 2009, 21:03

Hi Tim,

I specifically adding session handling to fileupload since sometimes flash players might not play well with sessions.

Our application uses fileupload with correct session handling, maybe it's a flash player issue, I'll look into this, try to replicate and update this post.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: ajvillafuerte, Google [Bot] and 25 guests