Re: [PHP] Dealing with session expiry

2003-10-19 Thread John W. Holmes
Radek Zajkowski wrote: I notice sites using login detect expiry automatically and refrest the pages + session, I just don't quite know how to apprach it. All you need to do is check that your session variables exist before you use them, otherwise set the values to a default. The method you're ta

RE: [PHP] Dealing with session expiry

2003-10-19 Thread Duncan Hill
Radek Zajkowski said: > I use it with skins on a web page, users coming in can pick a theme and for > the duration of their visit they have the theme(it's an illustrator website) > > the problem that I having is that session expiry will cause that site to > fall apart after idle time. > > I notice

RE: [PHP] Dealing with session expiry

2003-10-19 Thread Radek Zajkowski
xpiry automatically and refrest the pages + session, I just don't quite know how to apprach it. R> > -Original Message- > From: Zilvinas [mailto:[EMAIL PROTECTED] > Sent: October 18, 2003 3:04 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Dealing with session expiry

Re: [PHP] Dealing with session expiry

2003-10-18 Thread Zilvinas
Hello, Why are you saving such information into a session? Sessions are for temporary information. Use cookies or database, if you are doing what you are saying :) There should be no harm. Bye. > I have some pages that use sessions to call out certain elements in the > layouts. It allows user

[PHP] Dealing with session expiry

2003-10-18 Thread Radek Zajkowski
I have some pages that use sessions to call out certain elements in the layouts. It allows user to decide how should their pages look for the duration of their visit. Unfortunately whenever a user leaves their browser idle past the expity time of the session on their next click pages fall apart an