Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Session ID not showing up


Stephan (VS)

Recommended Posts

Posted

Hi, sorry to post about this but all the forum searches and googling I keep getting posts about people wanting to remove it. <_<

 

My problem is that after I uploaded my site from my local wamp server to and online Linux host the Session ID is not showing up in the Web-Adrress.

 

My hosting company says:

"What you need here is ModRewrite to change your url.

Please see below link for help to set up ModRewrite:

http://www.askapache.com/htaccess/ultimate...mple.html"

 

All I can figure out is that I propably need to edit my .htaccess file or edit the apache server's settings but I still relatively new to this and I'm still a bit clueless.

 

Can someone please point me in the right direction or explain what I'm missing? :blink:

 

I havent jet put any security onto the site so the catalog/admin .htaccess files are stille pretty much brand new.

$Id: .htaccess 1739 2007-12-20 00:52:16Z hpdl $

#

# This is used with Apache WebServers

#

# For this to work, you must include the parameter 'Options' to

# the AllowOverride configuration

#

# Example:

#

# <Directory "/usr/local/apache/htdocs">

# AllowOverride Options

# </Directory>

#

# 'All' with also work. (This configuration is in the

# apache/conf/httpd.conf file)

 

# The following makes adjustments to the SSL protocol for Internet

# Explorer browsers

 

#<IfModule mod_setenvif.c>

# <IfDefine SSL>

# SetEnvIf User-Agent ".*MSIE.*" \

# nokeepalive ssl-unclean-shutdown \

# downgrade-1.0 force-response-1.0

# </IfDefine>

#</IfModule>

 

# If Search Engine Friendly URLs do not work, try enabling the

# following Apache configuration parameter

 

# AcceptPathInfo On

 

# Fix certain PHP values

# (commented out by default to prevent errors occuring on certain

# servers)

 

# php_value session.use_trans_sid 1

# php_value register_globals 1

 

Live Shop

"I have no special talent. I am only passionately curious"

- Albert Einstein

Posted

On the first click i see the osCsid in the URL

After the 2nd (or 3rd) click it's not there anymore.

Which in my experience is standard osCommerce behaviour.

"If you're working on something new, then you are necessarily an amateur."

Posted

...and it's a security issue to hide osCsid from URL I think. But if you need the session id, use the functions tep_session_xxx() -> i.e. tep_session_id()

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...