Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 524541
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T08:34:43+00:00 2026-05-13T08:34:43+00:00

I am working on a flex site, I want to parse the string below:

  • 0

I am working on a flex site,

I want to parse the string below:
http://virtual.s1.c7beta.com/rpc/raw?c=Pictures&m=download_picture&key=a4fb33241662c35fe0b46c7e40a5b416&session_id=2b7075f175f599b9390dd06f7b724ee7

and remove the &session_id=2b7075f175f599b9390dd06f7b724ee7 from it.

How should i do it.

also later on when i get the url from database without session_id, i will attach the new session_id to it. Please tell me how to do that too.

Regards
Zeeshan

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T08:34:43+00:00Added an answer on May 13, 2026 at 8:34 am

    Not the short version but you can use URLVariable to get all the field(name, value) into an object and then add or delete any field you want.

    Separate url and query:

    var url : String = "http://virtual.s1.c7beta.com/rpc/raw?c=Pictures&m=download%5Fpicture&key=a4fb33241662c35fe0b46c7e40a5b416&session%5Fid=2b7075f175f599b9390dd06f7b724ee7";
    var idxQMark : int = url.indexOf("?");
    var qry : String = "";
    

    Build url variable from query

    var uv : URLVariables = new URLVariables();
    if (idxQMark > 0) {
     qry = url.substr(idxQMark + 1);
     url = url.substr(0, idxQMark);
     uv.decode(qry);
    }
    

    NOw you can access whatever field you need or delete them

    delete uv.session_id;
    

    Rebuild the query when needed

    qry = uv.toString();
    

    // get back you new URL

    if (qry != "") {
     url = url + "?" + qry;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on an Adobe Flex app, which needs to parse a relativley
I have been working on Flex for last couple of months and as this
My company has been working on a Flex dashboard that displays realtime financial information.
I'm working on a simple flex / AIR application with just a mx.TextInput control
We're working on a rich client (written in Flex) that is connected to a
I'm working with the PieChart and PieSeries components in Flex, and have ran into
I'm currently working on an application with a frontend written in Adobe Flex 3.
I am looking into internationalizing a Flex application I am working on and I
I'm looking to have a couple of plugins in a Flex project I'm working
Working with dates in ruby and rails on windows, I'm having problems with pre-epoch

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.