SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot SiteDev's Avatar
    Join Date
    Oct 2004
    Location
    Nevada
    Posts
    141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Getting rid of PHPSESSID in the URL?

    Hello,

    When you go to my site it asks for your name then will be put into a session. If you click a link without typing your name the URL looks like:
    http://*****.com/index.php?site=home...1cd6eeecfeeefd

    I want to get rid of that when the user clicks it. I want it to look like:
    http://*****.com/index.php?site=home

    Also, I don't have access to the php.ini file.

    Thank you.

  2. #2
    $this->toCD-R(LP); vinyl-junkie's Avatar
    Join Date
    Dec 2003
    Location
    Federal Way, Washington (USA)
    Posts
    1,524
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Your only other alternative is using cookies. You might want to read what the manual says about both session id and cookies, starting here:
    http://us2.php.net/session

    Hope this helps.
    Music Around The World - Collecting tips, trade
    and want lists, album reviews, & more
    Showcase your music collection on the Web


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
  •