Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / March 2008

Tip: Looking for answers? Try searching our database.

ASP.NET2.0 cookieless vs cookie sessions

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
maboo59 - 02 Jun 2006 14:06 GMT
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
Lit - 02 Jun 2006 14:51 GMT
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

> 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
maboo59 - 02 Jun 2006 15:24 GMT
Lit,
 Are yo saying that there is a setting that tells the site to write to
client machine or store in memory?

Maboo

> if you want to persist the cookie then it is stored on the client machine
> otherwise during actual communication it is stored in memory.
[quoted text clipped - 8 lines]
> > Thanks
> > Maboo
Lit - 02 Jun 2006 15:54 GMT
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

> Lit,
>  Are yo saying that there is a setting that tells the site to write to
[quoted text clipped - 14 lines]
>> > Thanks
>> > Maboo
maboo59 - 02 Jun 2006 16:22 GMT
good stuff Lit
thanks

> The Expires property of the HttpCookie class makes a cookie persistent and
> sets a date when a cookie will expire.
[quoted text clipped - 27 lines]
> >> > Thanks
> >> > Maboo
maboo59 - 02 Jun 2006 16:30 GMT
good stuff Lit
thanks

> The Expires property of the HttpCookie class makes a cookie persistent and
> sets a date when a cookie will expire.
[quoted text clipped - 27 lines]
> >> > Thanks
> >> > Maboo
tanveer ahmad - 01 May 2007 12:48 GMT
when we set cookies to false it means information is not stored on the
client side
Patrice - 02 Jun 2006 15:00 GMT
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).
Signature

Patrice

> 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
bruce barker (sqlwork.com) - 02 Jun 2006 17:07 GMT
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)

> 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
shiv yadav - 06 Mar 2008 09:07 GMT
hi..

  this is shiv.this is regarding ur question for the cookieless
session. actually when the user visits a site for the very first time, a
unique ID is created, called SessionId, that works for the user untill
he is on the site.
The Session ID is usually stored in the user's cookies. If 'cookieless
session = false' is set then it is not stored in cookies, it passes
through the URL.It is stored as part of the URL
as

http://www.shiv.com/(anf63t87iq0arjlqla2l55)/cutomdetails.aspx

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.