remove session junk added to html output on first visit?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Coco
Forum Contributor
Posts: 339
Joined: Sat Sep 07, 2002 5:28 am
Location: Leeds, UK
Contact:

remove session junk added to html output on first visit?

Post by Coco »

Im having a slight problem with my scripts atm... was hoping someone here could help me.
What happens, is the first time you visit my site, theres a glitch in the html output. a '</' gets replaced with '<table>', and part of the text gets shifted to the very begining of the output.
funny thing is, if you refresh the page, this then fixes itself. it only ever shows on the first visit of the session.

now i viewed and compared the sources of the 2 versions, the glitched and the unglitched. The only difference i can see between the two, is that in the first instance the session ID is appended to every link and forum in the page, not once, but twice. Im thinking that if i manage to get rid of these session additions, that the glitch in the site will fix itself.

the page is:
http://www.uo-auction2.com
the <table> that is added is at the end of line 73 in the source, and the text that should follow now appears at line 1. as you will probably see, there is session id's littered all over the place.


I assume this can be suppressed by changing the php config, but i wouldnt know what to change :/
phpinfo output is availiable if needed...

Any help anyone can give will be greatfully recieved
ilovetoast
Forum Contributor
Posts: 142
Joined: Thu Jan 15, 2004 7:34 pm

Post by ilovetoast »

Check ou the Passing the Session ID section on this page. It may lead you to the solution to your problem.

peace
Post Reply