#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    Calabasas, CA 91302
    Posts
    5
    Rep Power
    0
    My host compiled the feature into the php build that auto appends the PHPSESSID to links when sessions are on. Now, a lot of my links have the PHPSESSID value inserted in the middle of the link, after the '?'. For example: http://www.utorials.com/browse.php?c...c6d5f72e7f81=0
    should be http://www.utorials.com/browse.php?cid=9&sid=0

    the =0 is after the id for some strange reason. The problem is very consitant in that it appears on the same links in the same way each time. Some links are fine.
    Any ideas?

    If nothing else, is there any way to stop the sessionid from auto appending?

    Thanx in advance,
    lenny
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jul 2000
    Posts
    669
    Rep Power
    15
    $sess->url(http://www.utorials.com/browse.php?cid=9&sid=0)

    Should take care of it
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    Calabasas, CA 91302
    Posts
    5
    Rep Power
    0
    I get this error:
    Fatal error: Call to a member function on a non-object...
    I tried it with quotes and without. Anything I need to include to use this function?
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jul 2000
    Posts
    669
    Rep Power
    15
    Maybe
    $sess->purl(http://www.utorials.com/browse.php?cid=9&sid=0)
    Did you use the page open function on the page where you have sessions
  8. #5
  9. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    Calabasas, CA 91302
    Posts
    5
    Rep Power
    0
    I get the same error using this. What do you mean by your last line? I do have session_start() at the top of the file.

Similar Threads

  1. sessions, hotlinking and phpsessid woes
    By miseria in forum PHP Development
    Replies: 4
    Last Post: December 21st, 2003, 01:42 AM
  2. Gd problem
    By karlblau in forum PHP Development
    Replies: 3
    Last Post: October 7th, 2003, 11:06 AM
  3. PHPSESSID in URL problem
    By grizjr82 in forum PHP Development
    Replies: 2
    Last Post: September 2nd, 2003, 08:49 PM
  4. Replies: 2
    Last Post: April 6th, 2003, 10:19 AM

IMN logo majestic logo threadwatch logo seochat tools logo