p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

aspdotnet_website_programming thread: Cookies


Message #1 by "Yier Ouyang" <yier34@y...> on Tue, 18 Feb 2003 10:10:10
The book sample using Cookies for authentication and show user name in 
Controls/SiteHeader, and leave Cookies on the user's PC after leave 
finish browering.

One problem is that if the user use a public PC to view the website, and 
he/she don't want to leave trace in the public PC, then what need to do 
with the program? Having a funciton to delete Cookies when application 
finished is a way to erase the trace.

Can anyone tell me how to do it?

Thanks,

Yier
Message #2 by "Witold Iwaniec" <wiwaniec@n...> on Tue, 18 Feb 2003 08:22:58 -0400
I don't know if you can delete a cookie on a client machine but you can add
eg. button to "Sign Out" and expire the cookie. The next time someone uses
the application the cookie will not be used

Witold

-----Original Message-----
From: Yier Ouyang [mailto:yier34@y...]
Sent: 18 February 2003 10:10 AM
To: Website Programming with ASP.NET
Subject: [aspdotnet_website_programming] Cookies


The book sample using Cookies for authentication and show user name in
Controls/SiteHeader, and leave Cookies on the user's PC after leave
finish browering.

One problem is that if the user use a public PC to view the website, and
he/she don't want to leave trace in the public PC, then what need to do
with the program? Having a funciton to delete Cookies when application
finished is a way to erase the trace.

Can anyone tell me how to do it?

Thanks,

Yier
---
Professional Design Patterns in VB.NET:
Building Adaptable Applications

Want to know how design patterns bring reusable
design and adaptabilty to your applications? How
to recognize the need for a design pattern
solution? How to select, design, and implement
the right patterns? How parts of the .NET Framework
(like the .NET Data Providers and .NET Remoting)
take advantage of design patterns? This book
presents a practical approach to using design
patterns in VB.NET, by focusing on the relevance
of design patterns in the different tiers of a
distributed n-tier architecture.

http://www.wrox.com/books/1861006985.htm



  Return to Index