PHP session variable & PHPSESSID
Posted on 2004-08-24
Hi all, I am having an error in getting the session variable in php:
1. my application is a login page, if user successfully logged in, the user id will become sessioned and then he will be directed to the main page. I don't know why there are "?PHPSESSID=xxxxxxxx" in all URL of the main page...
I have tried some similar application in another server, but the PHPSESSID should not be shown... how can I make this invisible??
2. in each of the main page link, I redirect the user to a frame page, but it seems that the frameset cannot get the sessioned variable....I can only get the variable if I open another browser at the same time and login again...(in this double login case, I will not get "?PHPSESSID=xxxxxxxx" at the end of the main page link)
Hope someone can help, thanks