Forums / Templates, Stylesheets, Page Layout / Strange session id problem

Strange session id problem

Locked

Views: 2,064

Results 1 to 16 of 16
This thread is locked. New replies are disabled.
7 Dec 2008, 5:00 PM
#1
tech_e avatar

tech_e

Zen Follower

Join Date:
Jan 2007
Posts:
159
Plugin Contributions:
0

Strange session id problem

I found a strange problem related to the session ID. A customer complained that they could not log into their account. I found that when the session ID exists in the URL, such as when they hit the home page first and then click on Log In, they cannot log into their account. They are just returned to the home page and the nav bar does not display the My Account link.

Once they get past that point and the session ID is gone from the URL, they can log in.

If I cannot disable the session ID in the .htacces file, is there any workaround for this?

Any ideas?

8 Dec 2008, 9:45 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Strange session id problem

I cannot repeat this problem ...

What version Zen Cart?

Clean install or an Upgrade?

Have you an URL where we can see this actually happen?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

8 Dec 2008, 9:47 PM
#3
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Strange session id problem

... and are you using an SEO URL mod?

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

9 Dec 2008, 11:52 PM
#4
tech_e avatar

tech_e

Zen Follower

Join Date:
Jan 2007
Posts:
159
Plugin Contributions:
0

Re: Strange session id problem

I'm using 1.3.8a and it was a clean install.

Yes, I am using SEO URL.

It is a strange problem because I don't see how the session ID in the URL would do this.

http://www.gadgethq.com/

Perhaps it is related to the cookie, but the session cookie should exist by the time someone hits the login page.

It does this with both IE and FireFox.

It you click on a few links before you try to log in, the login works as expected.

10 Dec 2008, 12:08 AM
#5
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,684
Plugin Contributions:
0

Re: Strange session id problem

We have had reports of similar problems using one of the SEO mods - If you turn it off is there still a problem?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

10 Dec 2008, 12:10 AM
#6
tech_e avatar

tech_e

Zen Follower

Join Date:
Jan 2007
Posts:
159
Plugin Contributions:
0

Re: Strange session id problem

I cannot turn it off right now. It is a live site that is getting tons of Christmas traffic because I've got some hot items and a lot of top positions for product pages in Google.

Perhaps I can try that at 1 AM or after Christmas.

Thus far there has been only one customer complaint and I am getting repeat orders. Most repeat customers would probably never notice it because they hit several pages and add items to the cart before checkout.

It certainly could be related to SEO URL.

10 Dec 2008, 4:13 AM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Strange session id problem

CJPinder:

For the moment just turn off Recreate Sessions in Admin. Go to Admin > Configuration > Sessions and set Recreate Session to False.
If you do that, you'll want to pray that neither you nor your customers shares any URLs with a zenid in them ...

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

10 Dec 2008, 8:39 AM
#9
cjpinder avatar

cjpinder

Totally Zenned

Join Date:
Apr 2007
Location:
Herts. UK
Posts:
893
Plugin Contributions:
0

Re: Strange session id problem

DrByte:

If you do that, you'll want to pray that neither you nor your customers shares any URLs with a zenid in them ...
Very true. I wouldn't suggest it as a long term fix. Just a short term fix until he can try turning off the SEO URL mod and do some trouble shooting.

Regards,
Christian.

11 Dec 2008, 3:19 AM
#10
tech_e avatar

tech_e

Zen Follower

Join Date:
Jan 2007
Posts:
159
Plugin Contributions:
0

Re: Strange session id problem

Thanks for the ideas.

I'll have to play with this further when I'm up some time in the middle of the night. I've got so much traffic right now that I don't want to risk anything until things quiet down.

The Christmas rush is the wrong time to experiment. :ohmy:

27 Dec 2008, 11:38 AM
#11
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Re: Strange session id problem

I have discovered that this is exactly what is happening to my site as well, I originally thought that no one could login at all (this only happened to me in IE7 and not Firefox but I had another customer with the same problem in Firefox) and so I turned on Force Cookie Usage....more attempting to troubleshoot led me to find that after a few clicks and losing the zenid login was successful....then led me here through searching LOL

I have the Simple SEO URL's mod installed, is that the same SEO mod you have?

Setting Recreate Sessions to False fixes the problem, but I know despite warnings not to, many ppl paste the links with the zenid so I don't want to set it to False for too long LOL

I will be happy to help try to troubleshoot....if I can LOL :)

HunnyBee Design
"A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

27 Dec 2008, 11:45 AM
#12
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Strange session id problem

Turn off the module, see if that helps.
If it does, then it's the module's fault. If I remember correctly you are using a pretty old version of it. If it turns out to be the seo module problem then please upgrade.

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

27 Dec 2008, 12:25 PM
#13
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Re: Strange session id problem

Yeah, I tried a while back to upgrade to one of the latest ones, it had the ajax extras and I got a lot of errors which I can't remember now [oh oh just remembered LOL the module manager page was blank LOL] so I put it all back and put off re-trying the upgrade....now that things have settled down a bit though might be time to try again LOL

But yeah....I turned off SSU and logged in right off the bat....off to upgrade so cross your fingers for me LOL

HunnyBee Design
"A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

27 Dec 2008, 12:46 PM
#14
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Re: Strange session id problem

Happy to report that upgrading Simple SEO Url's to the latest release fixed this problem for me...thank you not only for a great mod but your fast help on a thread that's not the support thread LOL!

Now I gotta go set aliases for my designers (manufacturers) LOL

HunnyBee Design
"A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

27 Dec 2008, 12:48 PM
#15
tech_e avatar

tech_e

Zen Follower

Join Date:
Jan 2007
Posts:
159
Plugin Contributions:
0

Re: Strange session id problem

I don't think an upgrade will fix the problem for me. I am running Ultimate SEO URLs 2.106. According to the description, version 2.107 doesn't contain any new features or bug fixes. It just adds Spanish.

Maybe I need to think about switching to Simple SEO URLs.

27 Dec 2008, 1:27 PM
#16
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Re: Strange session id problem

Just my humble opinion, but I definitely recommend switching, the simple seo is a fantastic mod :)

HunnyBee Design
"A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe