How To Hide Session ID Using .htaccess [PLEASE HELP ME]

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How To Hide Session ID Using .htaccess [PLEASE HELP ME]

    Original Url:



    i want that url looks like this:
    http://www.mysite.com/index.php?do=main



    help me how to hide the session ID like that..
    I want to hide it using .htaccess anyone can help me??


    Thanks in advance
    Last edited by psychokizs3r; 09.01.12, 01:25.

    #2
    You can use cookie only sessions,
    add this in your script
    PHP Code:
    ini_set('session.use_only_cookies'1); 
    I need some facebook likes, can you please help me
    http://facebook.com/softwarefreakin
    I noticed social media is really powerful
    Well DONE is better than well SAID

    Comment


      #3
      its more safe to use session id than session cookies, so why should you change it? it is very easy to steal session cookies. but if you want to looks clean your site url, use session cookies. remember to rename your session name, it is important for most browser on mobile, if you are using PHPSESSID (default session name) as your session name, your user will have a problem in logging in. If you want I can convert your session id to session cookies but dont expect I will do that for free.

      http://wapx.amob.com
      Applications, Games, Wallpapers, Ringtones, Videos, Themes, Screensaver and More!!!

      Comment


        #4
        Originally posted by wapxtech View Post
        its more safe to use session id than session cookies, so why should you change it? it is very easy to steal session cookies. but if you want to looks clean your site url, use session cookies. remember to rename your session name, it is important for most browser on mobile, if you are using PHPSESSID (default session name) as your session name, your user will have a problem in logging in. If you want I can convert your session id to session cookies but dont expect I will do that for free.

        yes it's more secure than the session cookies i want to rename it uson .htaccess but not work's fine.

        Comment

        Working...
        X