473,408 Members | 2,477 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,408 software developers and data experts.

Cookieless Forms Authentication

Hi,

By setting the property "cookieless" (it can take 4 different values...) in
the web.config you could control weather an application relies upon cookies
or uses the querystring...

My problem is that I would like to do this dynamically and check for some
items (specific to my context/app) and based upon that switch between
cookies(no cookies) for that session... (This is a mobile/3G/GRPS web app
and some proxies on the cell networks eat cookies...)

Has anyone done that?

Regards
/Oscar
May 8 '06 #1
1 1297
In ASP.NET 2.0 you can set the value to "AutoDetect" or "UseDeviceProfile".
AutoDetect will detect for that user is cookies are enabled, UseDeviceProfile
will use cookies/cookieless based upon the device type as configured in .browser
files.

-Brock
http://staff.develop.com/ballen

Hi,

By setting the property "cookieless" (it can take 4 different
values...) in the web.config you could control weather an application
relies upon cookies or uses the querystring...

My problem is that I would like to do this dynamically and check for
some items (specific to my context/app) and based upon that switch
between cookies(no cookies) for that session... (This is a
mobile/3G/GRPS web app and some proxies on the cell networks eat
cookies...)

Has anyone done that?

Regards
/Oscar

May 11 '06 #2

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

Similar topics

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...
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: Trevor | last post by:
Hi I have built a site with some secure pages, in a subdirectory with anonymous access off, and cookeless forms security. I thought that this would be accessible to all without the need for...
0
by: Marcus | last post by:
Is cookieless forms authentication supported in asp.net 1.0? I have a website that must be cookieless, and thought that it would be a no brainer to add forms authentication. Logging in to the site...
1
by: Mark Olbert | last post by:
I'm building an ASPNET2 website which uses forms authentication but does not use the Microsoft-supplied membership providers (mostly because I don't want to create my own provider at this point, and...
3
by: Mark Olbert | last post by:
I have a website (ASPNET2) which uses cookieless authentication. <img> tags on restricted-access aspx pages appear to need the URL credential fragment (i.e., the long string that encodes the...
1
by: Mark Baker | last post by:
Hi, I am using Cookieless Forms Authentication. Due to this I get the session ID in the URL as follows: http://localhost/testcookie/(S(112ny2vvuypkkg55pzcyk4qd))/default.aspx How can I hide...
2
by: ravisingh11 | last post by:
<authentication mode="Forms"> <forms loginUrl="Login.aspx" protection="All" timeout="30" cookieless="AutoDetect" /> </authentication> Over here we can specify cookiless to be auto detect so...
0
by: studio60podcast | last post by:
I'm writing an ASP.NET 2.0 application using the new Membership providor and I'm having trouble. I have created the roles, logins, login controls, etc... and I can log in to the site. However,...
1
by: studio60podcast | last post by:
I'm writing an ASP.NET 2.0 application using the new Membership providor and I'm having trouble. I have created the roles, logins, login controls, etc... and I can log 
in to the site....
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
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
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
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.