By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,017 Members | 1,158 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,017 IT Pros & Developers. It's quick & easy.

ASP.NET2.0 cookieless vs cookie sessions

P: n/a
when using ASP.NET 2.0, if you set 'cookieless session = fales'
(meaning you want to use cookies), is the session information stored in
a cookie on the client machine or in the browsers memory?

Thanks
Maboo

Jun 2 '06 #1
Share this Question
Share on Google+
8 Replies


P: n/a
Lit
if you want to persist the cookie then it is stored on the client machine
otherwise during actual communication it is stored in memory.
cookies can expire.

Lit
"maboo59" <mt******@verizon.net> wrote in message
news:11**********************@f6g2000cwb.googlegro ups.com...
when using ASP.NET 2.0, if you set 'cookieless session = fales'
(meaning you want to use cookies), is the session information stored in
a cookie on the client machine or in the browsers memory?

Thanks
Maboo

Jun 2 '06 #2

P: n/a
The information needed to track the session is stored in a non permanent
cookie (not stored on disk) at least in IE (could be browser dependent).

Note all other session information are not sent accross the wire...

(not sure if the question is focused on the session id or all session
information).
--
Patrice

"maboo59" <mt******@verizon.net> a écrit dans le message de news:
11**********************@f6g2000cwb.googlegroups.c om...
when using ASP.NET 2.0, if you set 'cookieless session = fales'
(meaning you want to use cookies), is the session information stored in
a cookie on the client machine or in the browsers memory?

Thanks
Maboo

Jun 2 '06 #3

P: n/a
Lit,
Are yo saying that there is a setting that tells the site to write to
client machine or store in memory?

Maboo

Lit wrote:
if you want to persist the cookie then it is stored on the client machine
otherwise during actual communication it is stored in memory.
cookies can expire.

Lit
"maboo59" <mt******@verizon.net> wrote in message
news:11**********************@f6g2000cwb.googlegro ups.com...
when using ASP.NET 2.0, if you set 'cookieless session = fales'
(meaning you want to use cookies), is the session information stored in
a cookie on the client machine or in the browsers memory?

Thanks
Maboo


Jun 2 '06 #4

P: n/a
Lit

The Expires property of the HttpCookie class makes a cookie persistent and
sets a date when a cookie will expire.
A persistent cookie enables a website to remember you on subsequent visits,
speeding up or enhancing your experience of services or functions offered.

you can also set things in web.config.
a Cookie is automatically in memory anyway.

Store what every info you want in a cookie and it is good to encrypt your
cookie also.

Lit


"maboo59" <mt******@verizon.net> wrote in message
news:11**********************@y43g2000cwc.googlegr oups.com...
Lit,
Are yo saying that there is a setting that tells the site to write to
client machine or store in memory?

Maboo

Lit wrote:
if you want to persist the cookie then it is stored on the client machine
otherwise during actual communication it is stored in memory.
cookies can expire.

Lit
"maboo59" <mt******@verizon.net> wrote in message
news:11**********************@f6g2000cwb.googlegro ups.com...
> when using ASP.NET 2.0, if you set 'cookieless session = fales'
> (meaning you want to use cookies), is the session information stored in
> a cookie on the client machine or in the browsers memory?
>
> Thanks
> Maboo
>

Jun 2 '06 #5

P: n/a
good stuff Lit
thanks

Lit wrote:
The Expires property of the HttpCookie class makes a cookie persistent and
sets a date when a cookie will expire.
A persistent cookie enables a website to remember you on subsequent visits,
speeding up or enhancing your experience of services or functions offered.

you can also set things in web.config.
a Cookie is automatically in memory anyway.

Store what every info you want in a cookie and it is good to encrypt your
cookie also.

Lit


"maboo59" <mt******@verizon.net> wrote in message
news:11**********************@y43g2000cwc.googlegr oups.com...
Lit,
Are yo saying that there is a setting that tells the site to write to
client machine or store in memory?

Maboo

Lit wrote:
if you want to persist the cookie then it is stored on the client machine
otherwise during actual communication it is stored in memory.
cookies can expire.

Lit
"maboo59" <mt******@verizon.net> wrote in message
news:11**********************@f6g2000cwb.googlegro ups.com...
> when using ASP.NET 2.0, if you set 'cookieless session = fales'
> (meaning you want to use cookies), is the session information stored in
> a cookie on the client machine or in the browsers memory?
>
> Thanks
> Maboo
>


Jun 2 '06 #6

P: n/a
good stuff Lit
thanks

Lit wrote:
The Expires property of the HttpCookie class makes a cookie persistent and
sets a date when a cookie will expire.
A persistent cookie enables a website to remember you on subsequent visits,
speeding up or enhancing your experience of services or functions offered.

you can also set things in web.config.
a Cookie is automatically in memory anyway.

Store what every info you want in a cookie and it is good to encrypt your
cookie also.

Lit


"maboo59" <mt******@verizon.net> wrote in message
news:11**********************@y43g2000cwc.googlegr oups.com...
Lit,
Are yo saying that there is a setting that tells the site to write to
client machine or store in memory?

Maboo

Lit wrote:
if you want to persist the cookie then it is stored on the client machine
otherwise during actual communication it is stored in memory.
cookies can expire.

Lit
"maboo59" <mt******@verizon.net> wrote in message
news:11**********************@f6g2000cwb.googlegro ups.com...
> when using ASP.NET 2.0, if you set 'cookieless session = fales'
> (meaning you want to use cookies), is the session information stored in
> a cookie on the client machine or in the browsers memory?
>
> Thanks
> Maboo
>


Jun 2 '06 #7

P: n/a
when you use cookie sessions, then the session id is stored in the cookie.
the actual session data in stored on the server by the session manager.

when you use cookieless sessions, the session id is encode in the url.

http://mysite.com/myapp/<sessionid>/mypage.aspx

-- bruce (sqlwork.com)

"maboo59" <mt******@verizon.net> wrote in message
news:11**********************@f6g2000cwb.googlegro ups.com...
when using ASP.NET 2.0, if you set 'cookieless session = fales'
(meaning you want to use cookies), is the session information stored in
a cookie on the client machine or in the browsers memory?

Thanks
Maboo

Jun 2 '06 #8

P: n/a


when we set cookies to false it means information is not stored on the
client side

*** Sent via Developersdex http://www.developersdex.com ***
May 1 '07 #9

This discussion thread is closed

Replies have been disabled for this discussion.