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

Alternatives when user's browser doesn't accept cookies

If you have per user information that you want to store in session and the
setting in web.config is set to cookieless=false so you are intending on
using cookies, the user's browser is set to not accept cookies, what can you
do as alternative for storing that data?

What is the tradeoff if you just set the cookieless=true?

I am just trying to determine a set of best practices for this on my
project.

Thanks in advance,

--
Bob Hanson
CEO
Custom Programming Unlimited LLC
Nov 17 '05 #1
2 6023
If you have cookieless=true, then sessionID will be concatenated to every
URL string so that it is automatically passed around to each page. As a
developer this will be seemless to you and the session stuff will just work.
The only real drawback is the ugly sessionID that will appear in the address
bar of the user's browser.
This is the only reasonably simple way to keep track of the user's session
if they have cookies turned off.

--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net
"Robert V. Hanson" <ro*****@cpuandsimplepdm.com> wrote in message
news:vg************@corp.supernews.com...
If you have per user information that you want to store in session and the
setting in web.config is set to cookieless=false so you are intending on
using cookies, the user's browser is set to not accept cookies, what can you do as alternative for storing that data?

What is the tradeoff if you just set the cookieless=true?

I am just trying to determine a set of best practices for this on my
project.

Thanks in advance,

--
Bob Hanson
CEO
Custom Programming Unlimited LLC

Nov 17 '05 #2
Hello Robert,

I think your question is: How to store asp state information without
cookies information.

Generall speaking, the most common options to preserve state are as
follows:
Session and Application Variables
Cookies
Hidden Form Fields
QueryString
File and Database

I recommend you read one good MSDN article on it:
"HOWTO: Store State in Active Server Pages Applications"
http://support.microsoft.com/default...;EN-US;Q175167

Hope it helps.

Best regards,
yhhuang
VS.NET, Visual C++
Microsoft

This posting is provided "AS IS" with no warranties, and confers no rights.
Got .Net? http://www.gotdotnet.com
--------------------
!From: "Robert V. Hanson" <ro*****@cpuandsimplepdm.com>
!Newsgroups: microsoft.public.dotnet.framework.aspnet
!Subject: Alternatives when user's browser doesn't accept cookies
!Date: Wed, 2 Jul 2003 11:36:41 -0500
!Organization: Posted via Supernews, http://www.supernews.com
!Message-ID: <vg************@corp.supernews.com>
!X-Priority: 3
!X-MSMail-Priority: Normal
!X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
!X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
!X-Complaints-To: ab***@supernews.com
!Lines: 18
!Path:
cpmsftngxa09.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-onlin
e.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cyclone .bc.net!sjc70.we
busenet.com!news.webusenet.com!sn-xit-02!sn-xit-06!sn-post-01!supernews.com!
corp.supernews.com!not-for-mail
!Xref: cpmsftngxa09.phx.gbl microsoft.public.dotnet.framework.aspnet:31777
!X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
!
!If you have per user information that you want to store in session and the
!setting in web.config is set to cookieless=false so you are intending on
!using cookies, the user's browser is set to not accept cookies, what can
you
!do as alternative for storing that data?
!
!What is the tradeoff if you just set the cookieless=true?
!
!I am just trying to determine a set of best practices for this on my
!project.
!
!Thanks in advance,
!
!--
!Bob Hanson
!CEO
!Custom Programming Unlimited LLC
!
!
!

Nov 17 '05 #3

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

Similar topics

43
by: Steven T. Hatton | last post by:
Now that I have a better grasp of the scope and capabilities of the C++ Standard Library, I understand that products such as Qt actually provide much of the same functionality through their own...
2
by: Lee Wilkie | last post by:
Dear All, I'm new to ASP.NET and have been developing a small app at work to test Forms Authentication. When running on my development machine (using http://localhost/TestApp/Login.aspx for...
1
by: Scott Collens | last post by:
I am hoping someone can shed some light on this issue. I am developing a site in .NET using VB.NET on Windows 2000 Advanced Server. As I browse the site, if I delete my cookies through the...
5
by: Ryan Ternier | last post by:
Hey! We need a solution for a problem. We're designing a site where users hate... absolutly hate... with a passion to sign in with a user name / password system. They want to sign in once, and...
3
by: Ollie | last post by:
Can you check whether a users browser allows you to use cookies? Cheers Ollie
9
by: SHarris | last post by:
Hello, In our new intranet ASP.NET project, two requirements are that the browser accept cookies AND JavaScript. We are requiring the use of Internet Explorer 6+. 1. Using C# in an ASP.NET...
12
by: Don Juan | last post by:
I have a simple html document I have been using for some time on my (i.e.) abc.com domain that uses cookies. I recently purchased a new domain name and set up a service to redirect my new domain...
14
by: Sandman | last post by:
Is there any particular reason I should still use $_POST? Also, I'm reading mixed things about sessions. php.net says you can propagate session IDs either via cookies or session IDs:...
2
by: =?Utf-8?B?d2FsdGVy?= | last post by:
Hi there... we have a list of internal websites. For logging purpose, we would like to attach some client side info in each HTTP request before submit to server. Two options for us : 1) each...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
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...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.