In article <1160990806.885809.21270 RemoveThis @f16g2000cwb.googlegroups.com>,
stephen RemoveThis @stephena.co.uk says...
> I have setup my first OSCOmmerce site and i thought i had finished and
> was rather pleased with myself until somebody tried to buy something
> and got the error: 'Your session has timed out, please log in again.'
> so i cannot complete the payment and the credit card payment doesnt
> work either.
>
> I uninstalled the module and reinstalled it and it started working
> however it soon reverted back to 'Your session has timed out, please
> log in again.' This is the case for several people in several diiferent
> environments however Paypal say it has nothing to do with them and must
> be Oscommerce can anyone help?????
>
> the url is www.jpnutrition4u.co.uk
>
>
Stephen - session timeout is normally handled via PHP - I dont know if
osCommerce modifies this or not - perhaps a grep for the word "session"
in their PHP files will help. Also look for anything to do with cookies.
Cookies have timeout settings and are part of the session.
osCommerce shouldn't be a problem if you have a clean install as other
people are using it.
One thing to look at however is your sites php.ini file and make sure the
sessions are long enough in there. If you use a commercial linux host its
probably in /etc or somewhere like that
mine has -
; Document expires after n minutes.
session.cache_expire = 180
which is the default I think. The section header is [Session]
There are other settings in there that could affect it too. DONT modify
anything in this file unless you know what you are doing. You may need to
re-start PHP for changes depending on your hosts installation.
If people start the order sequence then go out for dinner before
completion - almost anything could timeout of course. Or it could just be
they dont have cookies enabled properly or they are being filtered by a
firewall or hidden by a proxy?
all things you could check out.
j.
>> Stay informed about: Oscommerce and Pay Pal Module