spring mvc - Uploadify Flash Safari wrong JSESSIONID -


i came across strange behavior of uploadify plugin. jsessionid sent spring controller safari browser wrong. strangely chrome , ie correct. therefore when ever try upload safari redirected login page.

please find request , response server.

safari

note: jsession id (?jsessionid=936c3165c16c881ba10f16d241d149e1) part in request did tally jssionid cookie sent in cookie.

request

post /webapp/uploadimage.htm?jsessionid=936c3165c16c881ba10f16d241d149e1 http/1.1 accept: text/* content-type: multipart/form-data; boundary=----------gl6ef1gl6gl6gl6ei4ef1gi3ae0gi3 user-agent: shockwave flash host: 127.0.0.1:8080 content-length: 26764 connection: keep-alive cache-control: no-cache cookie: jsessionid=7d8b315f5b9951aabe19fc21347a11a5; s_pers=%20s_fid%3d250b9f5818be88ff-1cece4eba6ddc123%7c1457746300554%3b%20s_vs%3d1%7c1394589700563%3b%20s_nr%3d1394587900595-new%7c1426123900595%3b 

response

http/1.1 302 found server: apache-coyote/1.1 set-cookie: jsessionid=7d8b315f5b9951aabe19fc21347a11a5; path=/webapp/; httponly location: http://127.0.0.1:8080/webapp/login.htm;jsessionid=7d8b315f5b9951aabe19fc21347a11a5 content-length: 0 date: wed, 12 mar 2014 04:14:48 gmt  

ie , chrome

request

post /webapp/uploadimage.htm?jsessionid=478c0e986f2d4e8898c1ab52b4800fe9 http/1.1 host: 127.0.0.1:8080 connection: keep-alive content-length: 173349 origin: http://127.0.0.1:8080 user-agent: mozilla/5.0 (windows nt 6.3; wow64) applewebkit/537.36 (khtml, gecko) chrome/33.0.1750.146 safari/537.36 content-type: multipart/form-data; boundary=----------gl6km7ei4ch2gi3gl6ef1ij5ch2ef1 accept: */* referer: http://127.0.0.1:8080/webapp/create.htm accept-encoding: gzip,deflate,sdch accept-language: en-us,en;q=0.8 cookie: jsessionid=478c0e986f2d4e8898c1ab52b4800fe9; csrf=-bmhfmnsiww6p 

response

http/1.1 200 ok server: apache-coyote/1.1 pragma: no-cache expires: thu, 01 jan 1970 00:00:00 gmt cache-control: no-cache cache-control: no-store content-type: application/json;charset=utf-8 transfer-encoding: chunked date: wed, 12 mar 2014 05:01:17 gmt 

can please suggest way fix problem?


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -