sommersa / jpegcam

Automatically exported from code.google.com/p/jpegcam
GNU Lesser General Public License v3.0
0 stars 0 forks source link

User Session is not passed #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
is it possible to add user session info in order to verify the user?

Original issue reported on code.google.com by raanan....@gmail.com on 10 Oct 2009 at 6:32

GoogleCodeExporter commented 9 years ago
Flash does not send any browser cookies along with submissions it makes.  
However,
you have complete control over the URL that it submits to.  You can add any 
session
information as a query string parameter.  Example:

webcam.set_api_url( 'test.php?cookie=' + escape(document.cookie) );

Then, in your server side script, you can parse the query string, and extract 
the
Session ID from the cookie.

Original comment by jhuck...@gmail.com on 10 Oct 2009 at 6:35

GoogleCodeExporter commented 9 years ago
forget about it :)

Original comment by raanan....@gmail.com on 10 Oct 2009 at 6:37

GoogleCodeExporter commented 9 years ago
as it turns out. it does pass the session info into the server. 
so no need to change anything
thx again!
great application!

Original comment by raanan....@gmail.com on 10 Oct 2009 at 8:05