Eggzorcist Posted August 18, 2009 Share Posted August 18, 2009 I'm trying to make an application which would need the user to stay logged in for a long period of time. As there are a long fields to fill out and I'm wondering wether $_SESSIONS is what I should be using or should I be using $_COOKIES or something that I'm not aware of... I just don't want a user to type a long piece of data and try to submit it but their sessions timed-out any solutions? Thanks Quote Link to comment Share on other sites More sharing options...
ohdang888 Posted August 18, 2009 Share Posted August 18, 2009 a secure application usually uses both cookies and sessions in different ways to keep track of a user Quote Link to comment Share on other sites More sharing options...
Eggzorcist Posted August 18, 2009 Author Share Posted August 18, 2009 I've actually created a GET for that page so it uses the GET session ID instead of the session. Quote Link to comment Share on other sites More sharing options...
ohdang888 Posted August 18, 2009 Share Posted August 18, 2009 I've actually created a GET for that page so it uses the GET session ID instead of the session. if you mean you're passing it in the url, that's very insecure and should NOT be done. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.