473,396 Members | 1,871 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

ASP.NET2.0 cookieless vs cookie sessions

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
8 1829
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
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
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
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
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
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
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


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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: JJ | last post by:
Hi, I really need to use cookieless ASP sessions with ASP 3 (IIS5) Can I find out the session ID from the first page, then post it or send it with the url to the next page, then at the start...
2
by: Chris | last post by:
I have a small ASP site running, which uses Session Cookies to support Session state. I'm being asked to get rid of the dependancy on the availability of session cookies. I know there'd been...
3
by: Scott | last post by:
Hello, we are having problems displaying non-aspx files (images, style sheets) since we have upgraded to the 1.1 framework when using a cookieless session (sessionID in the url). Check out...
2
by: Tom Pester | last post by:
I experimented/researched cookieless sessions and tried it on my website. I expected the switch to cookieless sessions to be transparent but this isn' t the case at all: 1) Forms based...
4
by: moondaddy | last post by:
in the webconfig I set: <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="true"...
2
by: Steve Franks | last post by:
According to the docs you tell ASP.NET to use cookieless sessions by setting a value in the config.web file. However, what if I wanted to determine at run time whether or not I wanted to use...
2
by: Daniel Malcolm | last post by:
Hi I just wanted to confirm that the "cookieless" attribute of the session section of the web.config file is an "all or nothing" setting. For some reason I thought that the following was the...
2
by: rk325 | last post by:
I have a question about cookies & browser permissions and turning off cookies when creating a web site (cookieless mode in web.config). I have a web site that of course uses Session variables....
1
by: Peter Rilling | last post by:
Hi. I am working on an ASP.NET application and would like to support cookieless forms authentication. Now there is a FormsAuthentication.SetAuthCookie which, as I can see using reflector, takes...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.