Useful Links
You will need to login before you can post. Please enter the following details:
User Name:    Password: 
Looking for something?
Want to be more precise?
Advanced Search
 

Go Back  NetBusinessTalk.com > Developing an Internet Business > Website Coding & Technology > [PHP] Cookie Expiration


Reply
 
LinkBack Thread Tools Display Modes
Old 03-25-06, 05:39 PM   #1
Busy Member
 
Join Date: Mar 2006
Posts: 209
Default [PHP] Cookie Expiration


Is it possible to set a cookie so that it lasts forever, rather than have a specific timestamp? I understand it's pointless to have one that lasts forever; domains and cookies change overtime. But still, it's something that I've thought about. I also understand a timestamp such as "2448974563466907697456" will last for a decade or so, which is virtually forever, but I mean for eternity.

Mike C is offline   Reply With Quote
Old 03-25-06, 10:41 PM   #2
ed
Guest
 
Posts: n/a
Default Re: [PHP] Cookie Expiration

Not that I know of - and there isn't much reason to have it last that long. It's a pretty good bet that in 5 years someone will either clear cookies, change browsers, change OS'es, or even change computers.

Anything over a year (well, in my opinion, a month) is just stupid.

  Reply With Quote
Old 03-26-06, 01:06 PM   #3
Busy Member
 
Join Date: Mar 2006
Posts: 209
Default Re: [PHP] Cookie Expiration

I agree, but I've been thinking as to how you could set it to forever, if at all possible. It could possibly open doors to other ideas. You never know.
Mike C is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:33 PM.

© 2006 - 2008 Net Business Talk Forums | About Net Business Talk Forums | Legal | A member of the Crowdgather Forum Community
 
 
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Designed by Vbulletinskinz.com