Forum Moderators: phranque

Message Too Old, No Replies

Removing Session ID With Mod Rewrite

Session ids are appending in my url

         

yash

11:37 am on Nov 9, 2004 (gmt 0)

10+ Year Member



I want to disable the session id to not to append in my url with Mod_rewrite
my site is <snip> and the .htaccess code is

RewriteEngine on
Options +FollowSymlinks
RewriteBase /
RewriteRule ^.htaccess$ - [F]

RewriteRule #^product_info-([1-9][0-9]*¦[1-9][0-9]*[_][1-9][0-9]*
¦[1-9][0-9]*[_][1-9][0-9]*[_][1-9][0-9]*¦[1-9][0-9]*[_][1-9][0-9]*[_][1-#9#][0-9]*[_][1-9][0-9]*
¦[1-9][0-9]*[_][1-9][0-9]*[_][1-9][0-9]*[_][1-9][0-9]*[_][1-9][0-9]*)[\+]([1-9][0-9]*).html$ #/product_info.php?products_id=$1&osCsid=$2

Can any one help me?

Thanks in advance

[edited by: jdMorgan at 4:49 pm (utc) on Nov. 9, 2004]
[edit reason] Removed URL per TOS. Fixed sidescroll. [/edit]

Longhaired Genius

1:07 pm on Nov 9, 2004 (gmt 0)

10+ Year Member



Are you making any use of the session id or do you want to get rid of it completely?

yash

7:34 am on Nov 10, 2004 (gmt 0)

10+ Year Member



hi

Longhaired Genius

I want to get rid of it completely?

iwant that they are not shown in url thats all.

thanx
Yash