473,287 Members | 1,663 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,287 software developers and data experts.

Sessions - cookieless for non-cookie users only

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 case:

If "cookieless" is set to false then ...

- If user's browser supports cookies then cookie is used to track Session
state
- If user's browser doesn't support cookies then cookieless mode (session id
added to url) is used to track Session state

but if "cookieless" is set to true then ...

- cookieless mode (session id added to url) is always used to track Session
state
I'm probably wrong though, as I've done a few tests and if I disable cookies
and set cookieless to "false" then Session state cannot be stored.

Thanks
Nov 19 '05 #1
2 1924
Yes, it is an all or nothing set. It is either on, or off - for everyone.

"Daniel Malcolm" <da************@nup.jpigroup.com> wrote in message
news:e8****************@TK2MSFTNGP11.phx.gbl...
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 case:

If "cookieless" is set to false then ...

- If user's browser supports cookies then cookie is used to track Session
state
- If user's browser doesn't support cookies then cookieless mode (session id added to url) is used to track Session state

but if "cookieless" is set to true then ...

- cookieless mode (session id added to url) is always used to track Session state
I'm probably wrong though, as I've done a few tests and if I disable cookies and set cookieless to "false" then Session state cannot be stored.

Thanks

Nov 19 '05 #2
Daniel Malcolm wrote:
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 case:

If "cookieless" is set to false then ...

- If user's browser supports cookies then cookie is used to track
Session state
- If user's browser doesn't support cookies then cookieless mode
(session id added to url) is used to track Session state

[...]

That's how servlet containers work. In ASP.NET, it's "all or nothing".

Cheers,

--
http://www.joergjooss.de
mailto:ne********@joergjooss.de
Nov 19 '05 #3

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...
0
by: djluker | last post by:
I've seen a few sites around (for example, Match.com and some areas of microsoft.com) that implement a cookieless session by tacking on the session ID (usually in Hex) to a page's querystring, rather...
2
by: JV | last post by:
Hi, The URL I'm trying to access http://SERVER/VirtualDir/app/test.aspx This page has a lot of links and also images and CSS from the following folder structure. ...
4
by: Leigh | last post by:
Hi Using cookieless sessions, if a user copies a URL that includes the embedded session ID and sends that to someone else, i.e. via email, if that link is used within the timeout period, they...
10
by: Anthony Williams | last post by:
Hi gang, This one looks like a bug :o( As you may or may not know, setting session management in web.config to use cookieless sessions causes the ASP.NET runtime to munge a session ID into...
7
by: Ron Vecchi | last post by:
I've been searching to find an answer but can not. I have a site that started out using the defaul session cookieless="false" Most pages have an IFrame located on them. I decided to change to...
2
by: xenophon | last post by:
I have specified in web.config to use cookieless Sessions. On one page I do not want to use them because of the way they obfuscate the page address. How can I turn it off for the page? Thanks.
2
by: thinkfr33ly | last post by:
I have a WAP site powered by ASP.NET Mobile controls. We're using cookieless sessions and have an F5 Load Balancer that balances the load between two web servers. Every once in a while we'll get...
6
by: Logician | last post by:
I am working with cookieless sessions and I cant see any disadvantages especially if HTTP cookies are also used if the browser can support them. Several sites, eg groups.google.com require HTTP...
13
Frinavale
by: Frinavale | last post by:
One of the most fundamental topics in web design is understanding how to pass information collected on one web page to another web page. There are many different ways you could do this: Cookies,...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...

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.