1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How do I find the URL of the previous page?

Discussion in 'PHP' started by Weirfire, Oct 19, 2004.

  1. Weirfire

    Weirfire Language Translation Company

    Messages:
    6,979
    Likes Received:
    365
    Best Answers:
    0
    Trophy Points:
    280
    #21
    I've never actually used sessions before but does it not do the same thing as a cookie?
     
    Weirfire, Jun 20, 2005 IP
  2. exam

    exam Peon

    Messages:
    2,434
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    0
    #22
    Yes. Php session handling can save the info on the server, but it still uses regular cookies to identify the user. :)
     
    exam, Jun 20, 2005 IP
  3. cornelius

    cornelius Peon

    Messages:
    206
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #23
    it is but if the user has cookies disabled, sessions write the cookies into the url
     
    cornelius, Jun 21, 2005 IP
  4. exam

    exam Peon

    Messages:
    2,434
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    0
    #24
    You are absolutely right, but anyone in their right mind wouldn't use sessions in the URL (think SEO) unless it was in a password-protected part of the site or you got rid of them for the bots.
     
    exam, Jun 22, 2005 IP