SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Member
    Join Date
    Dec 2001
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How is this done??

    Hi,

    I've been arguing with a friend on how those long url's such as http://www.domain.com/page.asp?Sessi...5654ef6h456546 really work? Please can somebody clear this up for us as were very close to killing each other SOON!!!!!!

    The Session_ID bit is made up but I have seen it before???? It's like macromedia site, they use loads of @@@@@ signs, this confuses me more??

    Hope u can settle this for us, thanks in advance to all the Gurus

  2. #2
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: How is this done??

    Originally posted by mbox
    Hi,

    I've been arguing with a friend on how those long url's such as http://www.domain.com/page.asp?Sessi...5654ef6h456546 really work? Please can somebody clear this up for us as were very close to killing each other SOON!!!!!!

    The Session_ID bit is made up but I have seen it before???? It's like macromedia site, they use loads of @@@@@ signs, this confuses me more??

    Hope u can settle this for us, thanks in advance to all the Gurus
    Usually you'll see a session ID in the querystring from some sort of Java app server. Where I work we have Jrun and once in a while when you punch up the domain of a JSP site the address bar will look something like this:
    I can only assume it is done by the app server, as us developers do not use the session ID in any of our programming (at least on that site).

    For other examples of this anomaly you can check out winamp.com's skin and plugin search, as well as AT&T wireless I believe (attws.com).

    Hope this clears some things up.

    --Vinnie

  3. #3
    SitePoint Member
    Join Date
    Dec 2001
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, I believe this is what we are both arguing about.

    Thanks again.

  4. #4
    The doctor is in... silver trophy MarcusJT's Avatar
    Join Date
    Jan 2002
    Location
    London
    Posts
    3,509
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In the absence of client-side support for cookies (for whatever reason) or at the whim of the developer, this is added to the URL (sometimes automatically, depending on the scripting language) to enable the application to maintain session state.
    MarcusJT
    - former ASP web developer / former SPF "ASP Guru"
    - *very* old blog with some useful ASP code

    - Please think, Google, and search these forums before posting!

  5. #5
    Phil fillup07's Avatar
    Join Date
    May 2002
    Location
    Jacksonville, FL
    Posts
    1,168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    mbox, if don't know anything about querystring and are just trying to figure how there can possibly be a page with a name like that:


    http://www.domain.com/page.asp?Session_ID43565fdgdfg4654j45645654ef6h456546

    In that URL, only http://www.domain.com/page.asp is the URL. The information following (Session_ID) is called the querystring and isn't part of the filename. The server can get the information in the querystring and use it.
    Last edited by fillup07; Sep 25, 2002 at 02:32.

  6. #6
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Originally posted by fillup07
    mbox, if don't know anything about querystring and are just trying to figure how there can possibly be a page with a name like that:


    http://www.domain.com/page.asp?Sessi...5654ef6h456546

    In that URL, only http://www.domain.com/page.asp is the URL. The information following (Session_ID) is called the querystring and isn't part of the filename. The server can get the information in the querystring and use it.
    fillup07,

    I have also seen "querystrings" started off using a semicolon rather than a question mark. I've seen this on JSP and JHTML (wow, dating myself there) sites and know that their querystring is started by a question mark, not a semicolon. Anyone have the "answer" to that one?

    --Vinnie

  7. #7
    The doctor is in... silver trophy MarcusJT's Avatar
    Join Date
    Jan 2002
    Location
    London
    Posts
    3,509
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by vgarcia
    Anyone have the "answer" to that one?
    Exactly what is the question?!!
    MarcusJT
    - former ASP web developer / former SPF "ASP Guru"
    - *very* old blog with some useful ASP code

    - Please think, Google, and search these forums before posting!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •