470,612 Members | 2,573 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,612 developers. It's quick & easy.

Cookies

I am having trouble writing cookies despite adding the cookie to the
Response.Cookeies collection. The Request.Browser.Cookies returns TRUE so I
know the browser is storing cookies and I can even see like Google cookies
in Documents and Settings/MyName/Cookies however there is never a cookie
saved by the name I create it with.

As well as this, the Request.Cookies.Count is three but in the directory I
just referred to there are hundreds, so Im beginning to wonder where the
hell it thinks its storing the cookies ?

Can anyone help ?
Nov 19 '05 #1
5 3547
Found it, I had not set the cookie expiration date. I'm having a bad day !

Cheers Anyways.
"Mr Newbie" <he**@now.com> wrote in message
news:uC**************@TK2MSFTNGP15.phx.gbl...
I am having trouble writing cookies despite adding the cookie to the
Response.Cookeies collection. The Request.Browser.Cookies returns TRUE so
I know the browser is storing cookies and I can even see like Google
cookies in Documents and Settings/MyName/Cookies however there is never a
cookie saved by the name I create it with.

As well as this, the Request.Cookies.Count is three but in the directory I
just referred to there are hundreds, so Im beginning to wonder where the
hell it thinks its storing the cookies ?

Can anyone help ?

Nov 19 '05 #2
Are you being able to read those 3 cookie values? if os they are
Non-Persistent cookies.

Cookies could be Persistent or Non-Persistent , only Persistent gets
saved to local folder. Other one stays in browser memory.

Also Request.Cookies.Count would give the count of cookies for your
website, not count of all cookies in client machine

this article may help "Basics of Cookies in ASP.NET"

http://msdn.microsoft.com/library/de...Cookies101.asp

Nov 19 '05 #3
IECookiesView [1] is a very useful tool you should not be without.

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/

[1] http://www.nirsoft.net/utils/iecookies.html

"Mr Newbie" <he**@now.com> wrote in message
news:Oj**************@TK2MSFTNGP15.phx.gbl...
Found it, I had not set the cookie expiration date. I'm having a bad day !

Cheers Anyways.
"Mr Newbie" <he**@now.com> wrote in message
news:uC**************@TK2MSFTNGP15.phx.gbl...
I am having trouble writing cookies despite adding the cookie to the
Response.Cookeies collection. The Request.Browser.Cookies returns TRUE so
I know the browser is storing cookies and I can even see like Google
cookies in Documents and Settings/MyName/Cookies however there is never a
cookie saved by the name I create it with.

As well as this, the Request.Cookies.Count is three but in the directory
I just referred to there are hundreds, so Im beginning to wonder where
the hell it thinks its storing the cookies ?

Can anyone help ?


Nov 19 '05 #4
Thanks for your help.
<sr**********@gmail.com> wrote in message
news:11*********************@g49g2000cwa.googlegro ups.com...
Are you being able to read those 3 cookie values? if os they are
Non-Persistent cookies.

Cookies could be Persistent or Non-Persistent , only Persistent gets
saved to local folder. Other one stays in browser memory.

Also Request.Cookies.Count would give the count of cookies for your
website, not count of all cookies in client machine

this article may help "Basics of Cookies in ASP.NET"

http://msdn.microsoft.com/library/de...Cookies101.asp

Nov 19 '05 #5
Thanks Clinton.

"clintonG" <cs*********@REMOVETHISTEXTmetromilwaukee.com> wrote in message
news:eO**************@TK2MSFTNGP10.phx.gbl...
IECookiesView [1] is a very useful tool you should not be without.

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/

[1] http://www.nirsoft.net/utils/iecookies.html

"Mr Newbie" <he**@now.com> wrote in message
news:Oj**************@TK2MSFTNGP15.phx.gbl...
Found it, I had not set the cookie expiration date. I'm having a bad day
!

Cheers Anyways.
"Mr Newbie" <he**@now.com> wrote in message
news:uC**************@TK2MSFTNGP15.phx.gbl...
I am having trouble writing cookies despite adding the cookie to the
Response.Cookeies collection. The Request.Browser.Cookies returns TRUE
so I know the browser is storing cookies and I can even see like Google
cookies in Documents and Settings/MyName/Cookies however there is never a
cookie saved by the name I create it with.

As well as this, the Request.Cookies.Count is three but in the directory
I just referred to there are hundreds, so Im beginning to wonder where
the hell it thinks its storing the cookies ?

Can anyone help ?



Nov 19 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Brian Burgess | last post: by
20 posts views Thread by Brian Burgess | last post: by
1 post views Thread by John Taylor-Johnston | last post: by
6 posts views Thread by Mark | last post: by
6 posts views Thread by Stephane | last post: by
1 post views Thread by Alex Nitulescu | last post: by
reply views Thread by rn5a | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.