473,396 Members | 2,089 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 1828
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
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.