android browser: user clicks "video file" link; results in new "server session" -


i've been working serving video files android browser.

i've seen behavior don't understand.

if html has video url in anchor tag:

<a href="http://host.com/path/to/some/file.mp4">video here</a> 

when user clicks link, (and android launches separate 'video player' app), see new "session cookie" on server side.

[19/may/2013:15:22:37 -0500] /pe/mediadownload/10101302/30222/cheeravi.mp4  '' 200  bytes=122880 duration=7127 '499d09751c6c3040b80f8987ee630ab1' '-' 'mozilla/5.0 (linux; u; android 4.2.2; en-us; sdk build/jb_mr1.1) applewebkit/534.30 (khtml, gecko) version/4.0 mobile safari/534.30' '-' '172.16.1.47' 'http://172.16.1.47:8080/pe/action/forums/displaythread?rootpostid=10101302&channelid=10&portalpageid=1016' '1:31' [19/may/2013:15:22:42 -0500] /pe/mediadownload/10101302/30222/cheeravi.mp4  '' 200  bytes=502185 duration=3962 'a9be64f91cf0f9546de5f2ec6021bc82' '-' 'stagefright/1.2 (linux;android 4.2.2)' '-' '172.16.1.47' 'null' '-' 

the second entry has different session id --i.e. different set of cookies.

in second request, "new session" , can't pass server side validation. (i.e. checking if user has access resource)

questions:

1) why 2 requests? 2) can media player pass in same set of cookies, i.e. re-use same session?

thanks


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -