Forum Moderators: coopster

Message Too Old, No Replies

validating and PHP

session ID problem

         

henry0

5:43 pm on Oct 11, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



how can I make validating a page that generates session ID
and display &

thanks

regard

Henry

henry0

5:46 pm on Oct 11, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



when I said "&"
I meant that displays "&"

how can I edit my own post
is it posible

jatar_k

5:49 pm on Oct 11, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



hey henry0,

to edit your own post you click on the little owner edit image under your nick on the left side of the post.

I don't understand your question though.

Nick_W

5:53 pm on Oct 11, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I do, you could use strstr() to search and replace & with & if you like but really, who cares? as long as the rest validates it's so big an issue...

Nick

Nick_W

5:55 pm on Oct 11, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hmmmmm... actually, it may be more tricky if you're using sessions as php does the string automatically...

Nick

henry0

5:59 pm on Oct 11, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



hummmmm it was obvious thanks for the edit tip :)

now for the "&" ok that's no big deal
but what about that one ( by the hundreds!)

<<<

warticle.php?articleID=6340&PHPSESSID=f8e33f23a18916b221db76caf0c6d4fc">
>>>

where it says PHPSESSID

thanks

jatar_k

5:59 pm on Oct 11, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



ah, now I see

I think Nick's first post hit it

as long as the rest validates it's not so big an issue...

<added>
you were posting while I was

have you read all of this?
PHP Session handling functions [ca.php.net]

I believe the setting is 'session.use_trans_sid'

there is some talk about dealing with sessions here in the user comments at the bottom
ini_set [ca.php.net]

[edited by: jatar_k at 6:09 pm (utc) on Oct. 11, 2003]

henry0

6:05 pm on Oct 11, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



no problems!
"not a big issue" and the rest do validate
so lets have a good weekend

cheer
henry