Hello,
When I use Session in my php code, the first time a session is
establish, every link on that page (where the session starts)
contains the PHPSESSID in the query.
For example:
session.php?PHP SESSID=d3994a59 1c42b9d3bba48ae 654341482
If we follow the link, the PHPSESSID disapears, which makes sence to me
because the ID was added as a "cookie" to the browser and there is no
need to continue to be in the URL.
My question is, can I avoid this? (because of search engines)
I have tried in 3 different hosts and it happens in all of them. Except
in my localhost machine, don't know the reason why.
Can someone help me?
Here is the code. Just paste it in a file named session.php
<?php
session_start() ;
print "<html><a href=\"session. php\">Test the problem</a></html>";
?>
Thanks,
Fred
When I use Session in my php code, the first time a session is
establish, every link on that page (where the session starts)
contains the PHPSESSID in the query.
For example:
session.php?PHP SESSID=d3994a59 1c42b9d3bba48ae 654341482
If we follow the link, the PHPSESSID disapears, which makes sence to me
because the ID was added as a "cookie" to the browser and there is no
need to continue to be in the URL.
My question is, can I avoid this? (because of search engines)
I have tried in 3 different hosts and it happens in all of them. Except
in my localhost machine, don't know the reason why.
Can someone help me?
Here is the code. Just paste it in a file named session.php
<?php
session_start() ;
print "<html><a href=\"session. php\">Test the problem</a></html>";
?>
Thanks,
Fred
Comment