473,396 Members | 1,891 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.

What if cookie are disabled?

I noticed that if cookie is disabled, unfortunately adding cookie to the
collection doesn't trap any error, and this is really good for some aspects,
because
it's impossibile to understand that since next time you use the cookie.

Now supposing to work on an environment where cookie are disabled, what's
the behaviour of the session? They are passed on the querystring, but it's
just the sessionid ... and other session values???

What generally do you use to pass value that is stored in cookie or in sessiom
between pages when the cookie are disabled?
Hidden form fields?

Thanks
Andrea

Mar 23 '06 #1
3 1204
I beleive session variables are stored on the server, so only the sessionid
needs to be passed back and forth between the client and the server.

"Andrea" wrote:
I noticed that if cookie is disabled, unfortunately adding cookie to the
collection doesn't trap any error, and this is really good for some aspects,
because
it's impossibile to understand that since next time you use the cookie.

Now supposing to work on an environment where cookie are disabled, what's
the behaviour of the session? They are passed on the querystring, but it's
just the sessionid ... and other session values???

What generally do you use to pass value that is stored in cookie or in sessiom
between pages when the cookie are disabled?
Hidden form fields?

Thanks
Andrea

Mar 23 '06 #2
You can set your session to be "cookieless" in the web.config section for
Session.
This "munges" the sessionid onto the url.
Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Andrea" wrote:
I noticed that if cookie is disabled, unfortunately adding cookie to the
collection doesn't trap any error, and this is really good for some aspects,
because
it's impossibile to understand that since next time you use the cookie.

Now supposing to work on an environment where cookie are disabled, what's
the behaviour of the session? They are passed on the querystring, but it's
just the sessionid ... and other session values???

What generally do you use to pass value that is stored in cookie or in sessiom
between pages when the cookie are disabled?
Hidden form fields?

Thanks
Andrea

Mar 24 '06 #3
Its the Session ID that is munged into the URL is it not?

What is your opinion about security?
About saving a page as a Favorite?

<%= Clinton Gallagher

"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.com> wrote in message
news:4D**********************************@microsof t.com...
You can set your session to be "cookieless" in the web.config section for
Session.
This "munges" the sessionid onto the url.
Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Andrea" wrote:
I noticed that if cookie is disabled, unfortunately adding cookie to the
collection doesn't trap any error, and this is really good for some
aspects,
because
it's impossibile to understand that since next time you use the cookie.

Now supposing to work on an environment where cookie are disabled, what's
the behaviour of the session? They are passed on the querystring, but
it's
just the sessionid ... and other session values???

What generally do you use to pass value that is stored in cookie or in
sessiom
between pages when the cookie are disabled?
Hidden form fields?

Thanks
Andrea

Mar 24 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Ben | last post by:
Hi all, This has been asked in the past in different ways. I'm still a bit confused about setting up counters. I'm quite new to php. I've read few tutorials about writing counters using cookie and...
0
by: Maverick | last post by:
Hello all, I read some good reviews about jakarta HTTPClient about its session and cookies management system and fancied giving it a try as a learning exercise but somehow I don't seem to be able...
2
by: What-a-Tool | last post by:
I am using a couple of session variables in my site. From what I can figure out, session information is stored on the users computer in a cookie - If the user has cookies disabled, do session...
4
by: socialism001 | last post by:
I'm trying to store a value in a cookie but its not working. Can anyone see what I might be doing wrong. Thanks, Chris ~~~~~~~~~~~~~~~~~~ <script language="javascript">...
9
by: Marco Krechting | last post by:
Hi All, I have a page with a list of hyperlinks. I want to save information in a cookie about the fact that I entered an hyperlink or not. When I click one of the hyperlinks I want this stored...
2
by: dotnettester | last post by:
Hi, I am trying to test if the client browser would support cookies and they way I am doing it by adding the cookie on the first visit and checking the cookie on a form post. The problem is...
4
by: Mel | last post by:
how can i change disabled background on all form elements ?
0
by: joseph conrad | last post by:
Hi, I tried to implement my own session handler in order to keep control on the process the drawback I foun it is not creating and storing in my cookie the PHPSESSID variable anymore. reading te...
3
johny10151981
by: johny10151981 | last post by:
In general sense: If Cookie is disabled by browser session do not work. The most common case is mobile phone browser. In mobile phone browser cookie is disabled by default. But Session and...
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: 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
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
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...
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.