Wrox Programmer Forums
|
VB.NET General VB.NET discussions for issues that don't fall into other VB.NET forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 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, 2003, 03:18 AM
Authorized User
 
Join Date: Jun 2003
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default Logout Button - PLEASE

Hello All,
Could someone please help me with the logout button?

I've tried:
FormsAuthentication.SignOut()
Response.Redirect("login.aspx")

I've also tried:
Session.Abandon()
Response.Redirect("login.aspx")

---
vb.net web app

namespace:
Imports System.Web.Security

<authentication mode="Forms">
  <forms loginUrl="logon.aspx" name="sqlAuthCookie" timeout="60"
    path="/">
  </forms>
</authentication>
<authorization>
  <deny users="?" />
  <allow users="*" />
</authorization>

Thank you!
Lee :(






Similar Threads
Thread Thread Starter Forum Replies Last Post
Not able to logout urtrivedi Forum and Wrox.com Feedback 6 March 10th, 2008 12:52 PM
logout back button. dee J2EE 0 February 14th, 2007 04:38 PM
logout TIME and logout DATE crmpicco Classic ASP Databases 2 January 20th, 2005 12:01 AM
logout TIME and logout DATE crmpicco Classic ASP Basics 0 January 19th, 2005 07:57 AM





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