Skip to main content
Inspiring
September 10, 2007
Question

How can I get this to work?

  • September 10, 2007
  • 7 replies
  • 400 views
I have a link that is being sent from CF to a .aspx page. It seems that
the page is using a format such as :
../Sessions.aspx?id=B0144C6D-B481-47B7-806C-1C2FA45AB276

Is there a way to generate a 'id' or create a 'id' so I can link right to
the section I
need? I can't point right to the section I need using CF, I need that
'id' as well....

Any thoughts? Just for reference, the page I'm trying to use is:
https://www.memberst.com/Programs/Sessions.aspx?id=B0144C6D-B481-47B7-806C-1C2FA45AB276

Thanks for the help...

Steve

    This topic has been closed for replies.

    7 replies

    Participating Frequently
    September 12, 2007
    The "another users name kept appearing" is because it's session related. It's going to be real hard to just re-direct your user to a specific class since the session will have to be initiated first. You might be able to use cfhttp and get it set up for the user before you redirect the user, but the best bet here is to contact the admin of the other site and see if you can work together and perhaps get them to create a web service for partial registering classes or a class locator link service, where you send a request for the class and it responds back with the link to use for the redirect
    Inspiring
    September 12, 2007
    I was wanting to generate a new one because it seemed like when I was
    testing it, when I used the link below, another users name kept appearing
    (perhaps someone who had registered).

    I'm just using it to allow people from our website to register for
    classes....

    "Azadi" <azadi@sabai-dee.com> wrote in message
    news:fc8bqa$ibh$2@forums.macromedia.com...
    > and what's the problem with using the full link url as it is?
    > why can't you use the
    > https://www.memberst.com/Programs/Sessions.aspx?id=B0144C6D-B481-47B7-806C-1C2FA45AB276
    > link?
    > why do you need to "generate" the id value?
    > where and how are you creating/using this link in your cf app?
    >
    > --
    >
    > Azadi Saryev
    > Sabai-dee.com
    > http://www.sabai-dee.com
    >

    Inspiring
    September 12, 2007
    and what's the problem with using the full link url as it is?
    why can't you use the
    https://www.memberst.com/Programs/Sessions.aspx?id=B0144C6D-B481-47B7-806C-1C2FA45AB276
    link?
    why do you need to "generate" the id value?
    where and how are you creating/using this link in your cf app?

    --

    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com
    Inspiring
    September 11, 2007
    So what's the best way to point to a specific location on a aspx page. I do
    have to browse to the location right now, but would like a link I'm defining
    to be able to point to the final destination......

    "Azadi" <azadi@sabai-dee.com> wrote in message
    news:fc4ov2$pji$1@forums.macromedia.com...
    > Steve Grosz wrote:
    >> Is there a way to generate a 'id' or create a 'id' so I can link right to
    >> the section I
    >> need? I can't point right to the section I need using CF, I need that
    >> 'id' as well....
    >
    > i hope you do realise that that id is not just a random collection of
    > letters and numbers, but a unique identifier of a particular record (or
    > other type of data) you are trying to access on that website... if you
    > just "generate" some string of similar format, you will not get any data
    > returned unless you somehow managed to generate a unique identifier of
    > some record there, which is unlikely as those GUIDs/UUIDs are rather
    > random and unique....
    >

    Participating Frequently
    September 11, 2007
    Azadi has a good point.

    The udf I mentioned only creates a microsoft compatible UUID.

    Given the name of the file being called in the url "Sessions.aspx", the information may be even more transient than an existing record/object and may be generated at the start of a session and the internals of the remote app are managing which section to deliver to the browser.
    Inspiring
    September 11, 2007
    Steve Grosz wrote:
    > Is there a way to generate a 'id' or create a 'id' so I can link right
    > to the section I
    > need? I can't point right to the section I need using CF, I need that
    > 'id' as well....

    i hope you do realise that that id is not just a random collection of
    letters and numbers, but a unique identifier of a particular record (or
    other type of data) you are trying to access on that website... if you
    just "generate" some string of similar format, you will not get any data
    returned unless you somehow managed to generate a unique identifier of
    some record there, which is unlikely as those GUIDs/UUIDs are rather
    random and unique....
    Participating Frequently
    September 11, 2007
    Modifies the CF CreateUUID() function to return a UUID in the form that Microsoft uses.

    http://www.cflib.org/udf.cfm?id=54&enable=1