nagasurendra commited on
Commit
820dc7a
·
verified ·
1 Parent(s): 0dd3a57

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -104,7 +104,7 @@ def order_history():
104
  except Exception as e:
105
  print(f"Error fetching order history: {str(e)}")
106
  return render_template("order_history.html", orders=[], error=str(e))
107
- app.permanent_session_lifetime = timedelta(minutes=2)
108
  @app.before_request
109
  def check_session_timeout():
110
  if "last_activity" in session:
 
104
  except Exception as e:
105
  print(f"Error fetching order history: {str(e)}")
106
  return render_template("order_history.html", orders=[], error=str(e))
107
+ app.permanent_session_lifetime = timedelta(minutes=5)
108
  @app.before_request
109
  def check_session_timeout():
110
  if "last_activity" in session: