Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 26th, 2006, 08:35 AM
Friend of Wrox
 
Join Date: Aug 2006
Posts: 107
Thanks: 0
Thanked 0 Times in 0 Posts
Default SIGN OUT PROBLEMS..

hi all

i am facing one problem in forms authentication.

in my sample ecommerce application, after i signout, at then clcik my myaccount link(which shows shoppingcart items), the items are still there.

i want to display sign in to view your account.

how can i achieve this?

can anyone please help me

thanks in advance


 
Old October 26th, 2006, 08:43 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Somehow you have your logic messed up. You are using some sort of business logic to relate a shopping cart to a user but, when the user logs out, you are not breaking that link. (Whether it be by a session, a cookie, etc). So, what you need to do is determine how you link a cart to a user and when the user logs out, you need to break that link.

-------------------------
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.

^^Thats my signature
 
Old October 26th, 2006, 10:27 AM
Friend of Wrox
 
Join Date: Aug 2006
Posts: 107
Thanks: 0
Thanked 0 Times in 0 Posts
Default

how can i implement the signout function for a signout link, which i have used in a usercontrol?

is there any way for that?







Similar Threads
Thread Thread Starter Forum Replies Last Post
How use plus sign ajabbabahalmigiriha C# 1 December 19th, 2006 01:04 AM
The little "plus" sign janise Access 8 January 6th, 2005 10:10 AM
How do you know which page to go to after sign up bekim Classic ASP Basics 8 August 22nd, 2004 07:53 PM
Is it possible to sign a VBScript - Need help ssudhaiyer VBScript 1 September 5th, 2003 05:10 AM
how % sign use in asp mateenmohd SQL Server 2000 2 July 28th, 2003 06:56 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.