gwolff2005 Posted April 27, 2009 Share Posted April 27, 2009 Hi guys, I have a site where the users have to login. After the login page I would like to show the sessionid in the url. I have no clue how to do that? Would be great if anyone could tel me hwo to do that. Thanks so much in advance! Link to comment https://forums.phpfreaks.com/topic/155812-solved-php-session-id-in-url/ Share on other sites More sharing options...
GingerRobot Posted April 27, 2009 Share Posted April 27, 2009 Any particular reason why you're looking to use it? It generally makes things less secure and makes session hijacking easier. If you still want to know, take a look at this manual page Link to comment https://forums.phpfreaks.com/topic/155812-solved-php-session-id-in-url/#findComment-820166 Share on other sites More sharing options...
gwolff2005 Posted April 27, 2009 Author Share Posted April 27, 2009 @gingerrobot, mmmhh ok did not think about that. How can generate a long digit number which is displayed in the url after people logged in? I would like to make the site more secure, so my idea with displaying the session id is pretty much the opposite approach ??? Link to comment https://forums.phpfreaks.com/topic/155812-solved-php-session-id-in-url/#findComment-820171 Share on other sites More sharing options...
GingerRobot Posted April 27, 2009 Share Posted April 27, 2009 What are you actually hoping to achieve? Link to comment https://forums.phpfreaks.com/topic/155812-solved-php-session-id-in-url/#findComment-820172 Share on other sites More sharing options...
gwolff2005 Posted April 27, 2009 Author Share Posted April 27, 2009 I want to make the site more secure and especially giving the user the impression of being secure. It is a harmless application. They log on to a site where they can do a psychological test.... So I would like to create different character, which are displayed after the main url... (it should look like a url on a ssl site) Link to comment https://forums.phpfreaks.com/topic/155812-solved-php-session-id-in-url/#findComment-820173 Share on other sites More sharing options...
gwolff2005 Posted April 27, 2009 Author Share Posted April 27, 2009 i got the answer.... but i thionk i need another way.... i wil lpost it in a new topic.. Link to comment https://forums.phpfreaks.com/topic/155812-solved-php-session-id-in-url/#findComment-820179 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.