Ask a Question related to ASP.NET General, Design and Development.
-
Robert V. Hanson #1
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
Robert V. Hanson Guest
-
Accept Cookies?
I want to use Contribute to edit a site that is password protected via existence of a cookie. However, it does not appear to work as it keeps asking... -
Browser Cookies in Mac
Hello, Im developing an application in Actionscript3 in Flash for Windows, but recently I try to develop the same code in Flash for Mac and the... -
turning cookieless mode false for client browsers that do not accept cookies
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... -
checking whether browser allows cookies in asp.net
Can you check whether a users browser allows you to use cookies? Cheers Ollie -
cookies appearing in browser
Hi! I have a php website that is showing cookies on screen instead of processing them. When I do a 'view source' I get the following: ---... -
Steve C. Orr, MCSD #2
Re: Alternatives when user's browser doesn't accept cookies
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
[url]http://Steve.Orr.net[/url]
"Robert V. Hanson" <roberth@cpuandsimplepdm.com> wrote in message
news:vg62nn551q239c@corp.supernews.com...you> 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> 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
>
>
Steve C. Orr, MCSD Guest
-
Yan-Hong Huang[MSFT] #3
RE: Alternatives when user's browser doesn't accept cookies
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"
[url]http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q175167[/url]
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? [url]http://www.gotdotnet.com[/url]
--------------------
!From: "Robert V. Hanson" <roberth@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, [url]http://www.supernews.com[/url]
!Message-ID: <vg62nn551q239c@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: [email]abuse@supernews.com[/email]
!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
!
!
!
Yan-Hong Huang[MSFT] Guest



Reply With Quote

