Hello everyone,
does anybody have an idea why in my OSC 2.2 the oscsid changes on every pageload, if the customer does not have cookies actived?
For example:
?osCsid=aa653b346fcaaec113776106f2c29171
then next pageload it is:
?osCsid=ab3fdc9a4840d77407f5abe86bf53ff5
And so it doe not hold the shopping cart.
Customers allowing cookies are just fine.
Does anybody have an idea?
Thank you,
Kind regards,
Volker
Latest News: (loading..)
Oscsid changes with every pageload for non cookie visitors
Started by vritzka, Apr 19 2012 04:22 PM
cookies oscsid
9 replies to this topic
#-19
Posted 19 April 2012 - 04:22 PM
#-18
Posted 19 April 2012 - 04:30 PM
You must have something causing loss of session
Are you using file or mysql for sessions
Have you read this thread http://forums.oscommerce.com/topic/330479-what-is-the-oscsid-why-you-must-not-loose-it/
a link to the site would help too
Are you using file or mysql for sessions
Have you read this thread http://forums.oscommerce.com/topic/330479-what-is-the-oscsid-why-you-must-not-loose-it/
a link to the site would help too
Sam
Remember, What you think I ment may not be what I thought I ment when I said it.
Contributions:
Auto Backup your Database, Easy way
Multi Images with Fancy Pop-ups, Easy way
Products in columns with multi buy etc etc
Disable any Category or Product, Easy way
Secure & Improve your account pages et al.
Remember, What you think I ment may not be what I thought I ment when I said it.
Contributions:
Auto Backup your Database, Easy way
Multi Images with Fancy Pop-ups, Easy way
Products in columns with multi buy etc etc
Disable any Category or Product, Easy way
Secure & Improve your account pages et al.
#-17
Posted 22 April 2012 - 07:19 PM
1. Either session is being lost or
2. Your modified/customized code( assumed to be customized) has some non standard code that checks for some cookie vlaue for session and if not found creates a new session.In short your customized code is ont able to reuse existing session id.
2. Your modified/customized code( assumed to be customized) has some non standard code that checks for some cookie vlaue for session and if not found creates a new session.In short your customized code is ont able to reuse existing session id.
Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.
Check My About US For who am I and what My company does.
Check My About US For who am I and what My company does.
#-16
Posted 11 May 2012 - 11:46 AM
THank you guys for the replys.
Yes, I have the above mentioned post and made sure my links and forms etc. are right.
I am using mysl storage for sessions.
the url is www.clothes4u.com.au
I am now trying to find any code that removes the session and tries to create a new one, as explained by Satish.
Volker
Yes, I have the above mentioned post and made sure my links and forms etc. are right.
I am using mysl storage for sessions.
the url is www.clothes4u.com.au
I am now trying to find any code that removes the session and tries to create a new one, as explained by Satish.
Volker
#-15
Posted 11 May 2012 - 11:51 AM
If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.
"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."
- Me -
"Headers already sent" - The definitive help
"Cannot redeclare ..." - How to find/fix it
SSL Implementation Help
Like this post? "Like" it again over there >
"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."
- Me -
"Headers already sent" - The definitive help
"Cannot redeclare ..." - How to find/fix it
SSL Implementation Help
Like this post? "Like" it again over there >
#-14
Posted 11 May 2012 - 11:30 PM
@vritzka
Your wrong, lots of your links are done wrong, correct them all, read the thread I linked to.
The basic test: disable cookies in your browser then visit your site, every single link on every page should have the sid attached, any link that does not is wrong.
ALL your javascript links are wrong (don't you know a good proportion of visitors wont have javascript? they can't use your site as is!!)
Quote
made sure my links and forms etc
Your wrong, lots of your links are done wrong, correct them all, read the thread I linked to.
The basic test: disable cookies in your browser then visit your site, every single link on every page should have the sid attached, any link that does not is wrong.
ALL your javascript links are wrong (don't you know a good proportion of visitors wont have javascript? they can't use your site as is!!)
Sam
Remember, What you think I ment may not be what I thought I ment when I said it.
Contributions:
Auto Backup your Database, Easy way
Multi Images with Fancy Pop-ups, Easy way
Products in columns with multi buy etc etc
Disable any Category or Product, Easy way
Secure & Improve your account pages et al.
Remember, What you think I ment may not be what I thought I ment when I said it.
Contributions:
Auto Backup your Database, Easy way
Multi Images with Fancy Pop-ups, Easy way
Products in columns with multi buy etc etc
Disable any Category or Product, Easy way
Secure & Improve your account pages et al.
#-13
Posted 12 May 2012 - 11:09 AM
Hi,
thanks again for the help.
@germ
yes, in fact somebody just hacked in and managed to change the paypal receiver address. So a $40 payment got stolen. Does anyone know vickyrahmadani@gmail.com.? She has got my money now.
@spooks
Well, there is not one link wrong. Even the javascript ones use the tep_href_link(). Not sure which links you mean.
The initial problem still exist . If I switch off cookies the shop generates a nes osCsid on every pageload.
I will keep searching.
Volker
thanks again for the help.
@germ
Quote
Your site is a hack waiting for a place to happen...
yes, in fact somebody just hacked in and managed to change the paypal receiver address. So a $40 payment got stolen. Does anyone know vickyrahmadani@gmail.com.? She has got my money now.
@spooks
Quote
ALL your javascript links
Well, there is not one link wrong. Even the javascript ones use the tep_href_link(). Not sure which links you mean.
The initial problem still exist . If I switch off cookies the shop generates a nes osCsid on every pageload.
I will keep searching.
Volker
#-12
Posted 05 June 2012 - 10:40 PM
Hi, how did you solve your problem? I got the same issue
#-11
Posted 06 June 2012 - 10:33 AM
The most common cause is incorrect cookie settings in the config file.
If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.
"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."
- Me -
"Headers already sent" - The definitive help
"Cannot redeclare ..." - How to find/fix it
SSL Implementation Help
Like this post? "Like" it again over there >
"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."
- Me -
"Headers already sent" - The definitive help
"Cannot redeclare ..." - How to find/fix it
SSL Implementation Help
Like this post? "Like" it again over there >
#-10
Posted 06 June 2012 - 11:19 AM
Hi,
so, problem fixed!
It was a tough cookie, but not a cookie issue ..... (zirp , zirp .. zirp).
After I could not find it myself, I put the job on elance.
2 contractors told me they could easily fix it .... and they gave up in dispair.
The 3rd contractor, a person from the USA, fixed it. After a weekend of sifting through the code.
He found that the code in catalog/includes/functions.php had been changed. He restored it to OSC standard, and it works now.
After this, the "Checkout without Account" was inactive. So I assume this contribution has caused the problem.
Volker
so, problem fixed!
It was a tough cookie, but not a cookie issue ..... (zirp , zirp .. zirp).
After I could not find it myself, I put the job on elance.
2 contractors told me they could easily fix it .... and they gave up in dispair.
The 3rd contractor, a person from the USA, fixed it. After a weekend of sifting through the code.
He found that the code in catalog/includes/functions.php had been changed. He restored it to OSC standard, and it works now.
After this, the "Checkout without Account" was inactive. So I assume this contribution has caused the problem.
Volker
Edited by vritzka, 06 June 2012 - 11:21 AM.









