Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Change session times

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-21-2005, 08:47 AM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default Change session times

When users are logged into my site, and their is no activity their session will expire after a few minutes. When I go to other shopping sites it looks like they dont have a session or that it is set to a extremely long time frame.

a. How can I extend my session timeframe to a larger ammount when users are logged in so they are not timed out right away.

Also When the session timeframe is up I get a message to display on my site.
Ex message:

Access denied !
You are not allowed to access that resource!
Error ID: 36

b. Is it possible call a new static html page that will display this message rather then have the error message on my current shop site. How do you call the blank page
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #2  
Old 12-21-2005, 09:18 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

It is a session timeout in your php.ini, talk to your host to change it.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 12-21-2005, 10:04 AM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default

What about the error message. Can i create a error html page and have it display insted of having the error message display on the cart screen?
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #4  
Old 12-21-2005, 10:06 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

I'm sure it is possible, but I'm not sure which php file controls the redirect.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 12-21-2005, 12:22 PM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default

ok thanks
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #6  
Old 01-19-2011, 09:58 PM
 
Exovian Exovian is offline
 

Member
  
Join Date: Dec 2004
Posts: 16
 

Default Re: Change session times

Access denied !
You are not allowed to access that resource!
Error ID: 36

Message is coming from the 403.tpl which is insede skin folder
customer/main/403.tpl you can edit this page.
__________________
Ben
Version 4.4.1
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:20 AM.

   

 
X-Cart forums © 2001-2020