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

Started on the old forum in January 2012 · view the original in the archive · old links redirect here

3 replies · 1,113 views · started 14 years ago · 1 min read

3 participants
softwarefreak Senior · 349 posts #2

You can use cookie only sessions, add this in your script

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

wapxtech Developer · 189 posts #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.

External image (may be gone) http://wapx.amob.com Applications, Games, Wallpapers, Ringtones, Videos, Themes, Screensaver and More!!!

psychokizs3r Newbie · 6 posts #4

wapxtech wrote: 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.

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close