Zen Cart Logo
Forums / General Questions / Session ID's in URL

Session ID's in URL

Locked

Views: 2,171

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
15 Apr 2007, 3:08 PM
#1
gexus avatar

gexus

New Zenner

Join Date:
Apr 2007
Posts:
3
Plugin Contributions:
0

Session ID's in URL

I'm looking to install Zen Cart, but one thing I don't want is having session ID's show in the URL, due to security and seo.

Is this posible to remove?

Thanks!

15 Apr 2007, 3:10 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Session ID's in URL

The session id shows on the first click and secure pages ...

If you own your own secure certificate you can get this to display on just the first click ...

15 Apr 2007, 3:19 PM
#3
gexus avatar

gexus

New Zenner

Join Date:
Apr 2007
Posts:
3
Plugin Contributions:
0

Re: Session ID's in URL

Hm, Yeah I have my own certificate, but there is still no way to not display it in the URL? Could I just set the session ID on load?

15 Apr 2007, 3:23 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Session ID's in URL

Do you see the session id for more than the one click?

15 Apr 2007, 4:01 PM
#5
gexus avatar

gexus

New Zenner

Join Date:
Apr 2007
Posts:
3
Plugin Contributions:
0

Re: Session ID's in URL

No, it's just the first click... but I would still prefer to not have it in there.

15 Apr 2007, 6:33 PM
#6
dwno avatar

dwno

Totally Zenned

Join Date:
Jan 2005
Posts:
1,285
Plugin Contributions:
0

Re: Session ID's in URL

I started a small mod a long time ago for removing the initial session ID from the query string, but due to lack of response it's been standing still since last december. It first checks if it can set and read cookies and if it can, it redirects to the same url that was used without the session ID in the query string.

Check it out if you're interested:
http://www.zen-cart.com/forum/showthread.php?t=39392&page=8#74

If you decide to test it, be sure to let me know how it goes by posting in that thread. :) It's only been downloaded about 50 times since then, and I don't know if anybody's even using it. The lack of response from people who've downloaded it could mean that it just works, but it could also mean that nobody is using it.

16 May 2007, 9:19 PM
#7
gid avatar

gid

New Zenner

Join Date:
Oct 2005
Location:
Chattanooga
Posts:
62
Plugin Contributions:
0

Re: Session ID's in URL

Yeah, I am sick of tracking down bad links to my site due to the zenid. Trying to get a webmaster to modify a link is rarely if ever successful. The thing is that google and the others have almost perfected detecting guids and not indexing them, but users have not and a hard coded GUID creates duplicate content issues.

I believe setting 'Recreate Session' to false alleviates any issues with duplicate shopping carts... correct?

16 May 2007, 9:22 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Session ID's in URL

gid:

I believe setting 'Recreate Session' to false alleviates any issues with duplicate shopping carts... correct?
Setting "Recreate Session" to "True" should prevent hijacking of other sessions.