Zippo
1-9-02, 10:10 PM
Hi,
I have a section especially for members to let them add events or change their profile.
After login I put some data (name + id) in a cookie, which other webpages calls upon.
I would like to expire that cookie in half an hour.
Because my website is Dutch orientated (GMT+1) and the SQL server is in the USA (GMT+7, 6 hour difference) the cookie is expired before anybody can do anything.
Of course I can make the timeout time 6 hours longer, but I do not find that a 'nice' solution. (Also regarding summer/winter time) I rather would like to make a more universal solution that wherever you are in the world the cookie would expire after a half hour.
Who has an solution for me?
I have a section especially for members to let them add events or change their profile.
After login I put some data (name + id) in a cookie, which other webpages calls upon.
I would like to expire that cookie in half an hour.
Because my website is Dutch orientated (GMT+1) and the SQL server is in the USA (GMT+7, 6 hour difference) the cookie is expired before anybody can do anything.
Of course I can make the timeout time 6 hours longer, but I do not find that a 'nice' solution. (Also regarding summer/winter time) I rather would like to make a more universal solution that wherever you are in the world the cookie would expire after a half hour.
Who has an solution for me?