rh-penguin Posted May 8, 2007 Share Posted May 8, 2007 hi, If make my pages so that each link has a session id included inside the URL and if a person copy's that url and gives it to another person would that make any type of a security threat? What happens? does the server automatically see that and somehow changes the session or does it addapt to it......... or what happens? Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/50488-solved-question-about-using-session-id-in-urls/ Share on other sites More sharing options...
suzzane2020 Posted May 8, 2007 Share Posted May 8, 2007 First of all y wud u want to place a session id in a url? coz a session value can be obtained by just using print_r($_SESSION["sess_name"]) Quote Link to comment https://forums.phpfreaks.com/topic/50488-solved-question-about-using-session-id-in-urls/#findComment-248038 Share on other sites More sharing options...
trq Posted May 8, 2007 Share Posted May 8, 2007 First of all y wud u want to place a session id in a url? coz a session value can be obtained by just using print_r($_SESSION["sess_name"]) Session id's can be automatically passed via the url to acomidate users with cookies disabled. would that make any type of a security threat? If the session is still current, it will be taken over by the new user. Quote Link to comment https://forums.phpfreaks.com/topic/50488-solved-question-about-using-session-id-in-urls/#findComment-248040 Share on other sites More sharing options...
rh-penguin Posted May 8, 2007 Author Share Posted May 8, 2007 o, right. Okay Thank you! Quote Link to comment https://forums.phpfreaks.com/topic/50488-solved-question-about-using-session-id-in-urls/#findComment-248049 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.