Wednesday, March 02, 2005

Coldfusion: Session Question

Question: I am having a problem with my site, whenever I login after 20 minutes my session expires eventhough I have set the session expiration time to 60 minutes. The Coldfusion server has a 20 minute limit for session expiration. I know due to this my session gone be expire. Can I solve this problem?

Answer: You can't set a session timeout longer than your server's session timeout. Well you can, but it will still timeout at the server's setting. One way around it is to develop a "remember me"-style functionality with cookies.

0 Comments:

Post a Comment

<< Home