472,338 Members | 1,606 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,338 software developers and data experts.

Cookies

Is it possible to make a cookie NEVER expire? or not?
Jul 22 '06 #1
4 3539

"James Jones" <ja**************@insightbb.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Is it possible to make a cookie NEVER expire? or not?
Nope.

Just make it expire in a 100 years or so. Is that sufficient?
--
compatible web farm Session replacement for Asp and Asp.Net
http://www.nieropwebconsult.nl/asp_session_manager.htm

Jul 23 '06 #2
Gazing into my crystal ball I observed "Egbert Nierop \(MVP for IIS\)"
<eg***********@nospam.invalidwriting in news:uvvP2BnrGHA.600
@TK2MSFTNGP02.phx.gbl:
>
"James Jones" <ja**************@insightbb.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
> Is it possible to make a cookie NEVER expire? or not?

Nope.

Just make it expire in a 100 years or so. Is that sufficient?

Is this going to be like the One-Hoss Shay?
--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

Jul 24 '06 #3

"Adrienne Boswell" <ar****@yahoo.comwrote in message
news:Xn****************************@69.28.186.121. ..
Gazing into my crystal ball I observed "Egbert Nierop \(MVP for IIS\)"
<eg***********@nospam.invalidwriting in news:uvvP2BnrGHA.600
@TK2MSFTNGP02.phx.gbl:
>>
"James Jones" <ja**************@insightbb.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
>> Is it possible to make a cookie NEVER expire? or not?

Nope.

Just make it expire in a 100 years or so. Is that sufficient?


Is this going to be like the One-Hoss Shay?
Not if you make it a 200 hundred!
<q>
Have you heard of the wonderful one-hoss shay,
That was built in such a logical way
It ran a hundred years to a day,
And then of a sudden it -- ah, but stay,
I'll tell you what happened without delay,
Scaring the parson into fits,
Frightening people out of their wits, --
Have you ever heard of that, I say?

</q>
http://www.legallanguage.com/poems/onehossshay.htm

Jul 24 '06 #4
James Jones wrote:
Is it possible to make a cookie NEVER expire? or not?
If so, it will end up in an MRE: http://en.wikipedia.org/wiki/MRE
Seriously, though: a transient cookie (one which has no expiration date)
will never expire if sent to a browser that never closes. All other cookies
expire.

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.
Jul 24 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Brian Burgess | last post by:
Hi all, Anyone know of any special issues with storing cookies with ASP? I'm trying this with two browsers: One is IE 6.0 with cookies set to...
20
by: Brian Burgess | last post by:
Hi all, Anyone know if this is possible? If so, on which page would the cookie be? .. On the page calling a function defined in the include...
9
by: | last post by:
Is it possible for a user to enable permanent cookies but disable session cookies.....this seems like a contradition yet this is what I appear to be...
1
by: John Taylor-Johnston | last post by:
I'm a University academic looking for a proper definition of JavaScript Cookies. ...
6
by: Mark | last post by:
Hi... I've come across some weird bug with Response.Cookies. Or maybe it will be called "by design" but for the life of me I can't figure out...
8
by: CDARS | last post by:
Hi all, I have a confusing question on ASP.NET cookies usage: 1> Response.Cookies("test").value = Now...
6
by: Stephane | last post by:
Hi, I have a login page where if the user wants his access codes to be saved are set into a cookie. In the logout page, I want to delete those...
1
by: Alex Nitulescu | last post by:
I have the following very simple colde (while learning about cookies and session state): Private Sub cmdAddCookie_Click(ByVal sender As...
0
by: Claudio | last post by:
I have a demo app where cookies does not work. The first page create a cookies. The second read the contet. If I browse the pages via IE6.0 the...
0
by: rn5a | last post by:
This is how I am creating & then reading cookies: <script runat="server"> Sub Page_Load(ByVal obj As Object, ByVal ea As EventArgs) 'create...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.