<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Well if there's a bug in flash 8 for a crucial element in your app and
it's fixed in flash 9 then it sounds to me like you've locked yourself
into flash 9.&nbsp; I'm not sure why that's such a problem considering that
according to adobe 90% of users support flash 9 (data as of june).&nbsp;
Aside from that could you pass the session id as a flash param?<br>
<br>
Fernando Silva wrote:
<blockquote
 cite="mid:e8e8c0a80709040509t4f9a48fau98f3230a054d6346@mail.gmail.com"
 type="cite">
  <pre wrap="">Hi Philippe,

On 9/4/07, Philippe Jadin <a class="moz-txt-link-rfc2396E" href="mailto:philippe.jadin@gmail.com">&lt;philippe.jadin@gmail.com&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">There must be something wrong in your app. Flash is supposed to use
the browser to send http requests and thus Drupal should receive the
session from the flash http request like it would for a normal http
request from the browser.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Not if the flash application is using "FileReference" class to upload files.
(damn... I opened the game and told you that I have a flash file
uploader that uploads multiple files from a directory and have a
progress bar for file uploading)

It's a bug in Flash 8 FileReference class that does not use the
browser to send those requests, neither the cookies or even the
browser identifier. Also, in Flash 8 we cannot pass extra data in the
HTTP request or receive data from that request. I could use Flash 9
anyways... I just was trying to avoid that.

  </pre>
  <blockquote type="cite">
    <pre wrap="">Anyway, you can use the standard url get
syntax, like :

yoursite.com/node/5?session_id=yoursession_id

the part after ? will not harm Drupal (Drupal pager use the same syntax)

I hope that helps, but I fear that it won't, because sending the
session like this will have no influence on the Drupal side. You
should take a look at Drupal session handling, and see if it uses the
same system as the built in php session handling (which appends a url
query string when cookies are not available)
    </pre>
  </blockquote>
  <pre wrap=""><!---->
It seems to me that Drupal forces the use of session management through cookies.

  </pre>
  <blockquote type="cite">
    <pre wrap="">Philippe

On 9/4/07, Fernando Silva <a class="moz-txt-link-rfc2396E" href="mailto:fsilva.pt@gmail.com">&lt;fsilva.pt@gmail.com&gt;</a> wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Hi all,

I have a little module that inserts a flash application inside a
drupal page. The problem is that when the flash interacts with the
site, it does not obey to the session cookie and does not start the
correct session.

Because I really cannot make the flash use, or send the correct
cookie, the only option is by sending in the URL the session id.

Now the big problem is: how can I send in the URL the session id just
for that path in a way Drupal understands and processes it?

Best regards,
  Fernando Silva
--
[ Drupal support list | <a class="moz-txt-link-freetext" href="http://lists.drupal.org/">http://lists.drupal.org/</a> ]

      </pre>
    </blockquote>
    <pre wrap="">--
[ Drupal support list | <a class="moz-txt-link-freetext" href="http://lists.drupal.org/">http://lists.drupal.org/</a> ]

    </pre>
  </blockquote>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<hr align="center" noshade="noshade" size="1" width="100%">
<p
 style="text-align: center; font-family: verdana,arial,helvetica,sans-serif; color: rgb(51, 51, 51); font-size: 10px; text-transform: lowercase; font-style: normal; font-weight: normal;"><a
 href="mailto:sander@sander-martijn.com"
 style="text-decoration: none; color: rgb(0, 0, 255); font-family: verdana,arial,helvetica,sans-serif;">sander-martijn</a><br>
interface developer | architect<br>
<a href="mailto:sander@sander-martijn.com"
 style="text-decoration: none; color: rgb(0, 0, 255); font-family: verdana,arial,helvetica,sans-serif;">sander@sander-martijn.com</a><br>
<a href="http://www.sander-martijn.com"
 style="text-decoration: none; color: rgb(0, 0, 255); font-family: verdana,arial,helvetica,sans-serif;">www.sander-martijn.com</a>
</p>
<hr align="center" noshade="noshade" size="1" width="100%"></div>
</body>
</html>