Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

How do you hide the XID?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-01-2004, 12:16 PM
 
xcell67 xcell67 is offline
 

Senior Member
  
Join Date: Dec 2003
Posts: 149
 

Default How do you hide the XID?

Hi,
Is it possible to hide the XID? I ask this because i currently have 2 test sites, one that is heavily modded and the other is a fresh install. The fresh install doesn't show the XID while the heavily modded one does.

I was looking around at some x-cart sites and most of them show the XID, what I want to know is what causes it to show since my fresh install doesn't show it. Is it something clicked in admin that makes it show the XID?

thanks
Reply With Quote
  #2  
Old 06-01-2004, 01:54 PM
  groovico's Avatar 
groovico groovico is offline
 

X-Man
  
Join Date: Apr 2003
Location: Firetanksoftware.com
Posts: 2,326
 

Default

It's controlled by the PHP settings on the server or the .htaccess file if your host allows it.

You can turn it off by putting

# turn off sessions
php_flag session.use_trans_sid off


In your .htaccess file.
__________________
Groovico

Used by X-carters the world over:
Marketing Manager Pro Bundle For X-cart
Featured Product Manager for X-cart
Feed manager pro for X-cart

http://www.firetanksoftware.com

Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X
Reply With Quote
  #3  
Old 06-01-2004, 02:25 PM
 
xcell67 xcell67 is offline
 

Senior Member
  
Join Date: Dec 2003
Posts: 149
 

Default

this is what my php.ini says:

; trans sid support is disabled by default.
; Use of trans sid may risk your users security.
; Use this option with caution.
; - User may send URL contains active session ID
; to other person via. email/irc/etc.
; - URL that contains active session ID may be stored
; in publically accessible computer.
; - User may access your site with the same session ID
; always using URL stored in browser's history or bookmarks.
session.use_trans_sid = 0

the server already has it off, I tried using that .htaccess that you suggested by the xid is still showing. I don't really mind the xid showing as long as it is safe. I'm just really curious as to why one of my sites show the xid while the other one doesn't while both of them are both on the same shared host account.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:58 AM.

   

 
X-Cart forums © 2001-2020