Forum Moderators: buckworks

Message Too Old, No Replies

Help:problem of sessionID in a url

         

megame

7:20 am on Sep 24, 2004 (gmt 0)

10+ Year Member



hi,everyone
I own an osCommerce site,but when someone access the site,there is a rather long url with sessionID likes this in the address bar:http://www.mysite.com/index.php/cPath/1_15?osCsid=b0dfdc9bf20f9a59a76b36d24486dc2a.How can I remove the "osCsid" query string meanwhile have the session function when someone browse mysite?Thank you in advance for you help.

Raymond

8:50 am on Sep 24, 2004 (gmt 0)

10+ Year Member



I've never used oscommerce before but if there is a session going on, you can probably ditch the sessionid in the querystring. You don't really have to pass it around because the session object is stored on the server.

Run something like this "response.write session.sessionid" on a blank asp page and match the session with the one keep passing around your page. If they are the same, then you can proceed to edit all the pages that use the sessionid in the querystring to call the session object instead.

Another note, that string you listed could be another session object. Maybe you can try session("oscsid") and see if it contains anything.