ColdFusion Session variables

Discussion in 'Programming' started by unitedlocalbands, Apr 14, 2008.

  1. #1
    When a user logs into my site I create a set of session variables to Identify the person who is logged in.

    When the flex 2 application loads for my picture uploader though it will start its own new session.... I think...does anyone know anything about this... what do you think...

    I think this because when the flex 2 application send the files to the server for validation and upload, the session variables do not exist, so i cant see who is uploading what.

    Is there any way to make the flex 2 application exist in the current session that was created when the person logged in the first place?
     
    unitedlocalbands, Apr 14, 2008 IP
  2. apmsolutions

    apmsolutions Peon

    Messages:
    66
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    could you make use of the cfide and cftoken?
     
    apmsolutions, Apr 30, 2008 IP
  3. unitedlocalbands

    unitedlocalbands Well-Known Member

    Messages:
    246
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    128
    #3
    I would think so... but the question is how.

    I just started playing around with flex 2. I found a multi file uploader that a guy named Ryan Favro wrote.

    It works great, but when it is loaded on the the website, it will start its own new session. This is a problem because then the flex app doesn't regard the current session variables set when the user logs in.

    So when the user uploads any pictures or music I my cfm file doesn't know who is doing the uploading.

    I have tried all sorts of things to make the flex2 app exist in the same session as the users information is stored...

    Oddly enough this is only a problem in firefox, opera, and safari.

    IE7 seems to work just fine.
     
    unitedlocalbands, May 1, 2008 IP
  4. unitedlocalbands

    unitedlocalbands Well-Known Member

    Messages:
    246
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    128
    #4
    I'm going to need a little more help here, I know someone out there knows exactly what to do,

    Even if you just point me in the right direction I'm sure this can be figured out.

    I just dont know where to start.
     
    unitedlocalbands, May 28, 2008 IP
  5. websiteideas

    websiteideas Well-Known Member

    Messages:
    1,406
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    130
    #5
    I'm not sure I understand this completely, but the Coldfusion function URLSessionFormat() might help here.
     
    websiteideas, Jun 14, 2008 IP