|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
Session ID echos in address bar
This is my ISP info OS: Linux php:4.3.2 I have phpBB installed on my site, and when I click on the link to launch it (in it's own browser window), the php session ID is displayed in the address bar. I do have in my pages (I'm learning about sessions), and I am suspicious that I don't have a config var set correctly to turn this off. Is there a way for me to prevent the php session ID from being displayed in the address bar? |
|
#2
|
||||
|
||||
|
RE: Session ID echos in address bar
Set the session.use_only_cookies option in your php.ini file to 1. See the link for more info.
|
|
#3
|
|||
|
|||
|
RE: Session ID echos in address bar
Ok, ummm...
I don't have access to my ISP's php.ini file, and was unable to find out (on php.net) how to do it locally from my script. I did look throught the documentation though. Could I use 'session_set_cookie_params()' to enable it for my scripts? |
|
#6
|
|||
|
|||
|
RE: Session ID echos in address bar
I'll try that.
Thx honcho. |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > Session ID echos in address bar |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|