User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the DaniWeb Community Feedback section within the Coffee House category of DaniWeb, a massive community of 456,516 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,817 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our DaniWeb Community Feedback advertiser: Programming Forums
Views: 1402 | Replies: 10 | Solved
Reply
Join Date: Sep 2007
Posts: 50
Reputation: kehar is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
kehar kehar is offline Offline
Junior Poster in Training

not logging out properly

  #1  
Oct 3rd, 2007
hi
When I log out from the site even then my user name appears at the top line of the window. and when I closed the net and re open giving the address www.daniweb.com even then my user name appears in the window and when I click the name it automatically gets log in.

I have tried several times but the problem is still there.
Pl help
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2005
Posts: 2,805
Reputation: The Dude is an unknown quantity at this point 
Rep Power: 8
Solved Threads: 24
The Dude's Avatar
The Dude The Dude is offline Offline
Posting Maven

Re: not logging out properly

  #2  
Oct 3rd, 2007
Hello my friend,

Your making sure to click "LOGOUT" right?

After you logout,simply refresh the page and you should indeed by logged out!

Good luck!
Reply With Quote  
Join Date: Sep 2007
Posts: 50
Reputation: kehar is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
kehar kehar is offline Offline
Junior Poster in Training

Re: not logging out properly

  #3  
Oct 4th, 2007
yes, it is working but when I click Back botton the name is still appearing but for name shake only as I have to re-log in.
Reply With Quote  
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 11,020
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 33
Solved Threads: 116
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb

Re: not logging out properly

  #4  
Oct 4th, 2007
When you click the back button in your browser, your computer is loading the cached version of the page for you.
Reply With Quote  
Join Date: Oct 2007
Posts: 9
Reputation: sandeep.thakur1 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
sandeep.thakur1's Avatar
sandeep.thakur1 sandeep.thakur1 is offline Offline
Newbie Poster

Solution Re: not logging out properly

  #5  
Oct 9th, 2007
Thats due to permanent cookie written in your system by that website.
It is written permanently when you tick check box for "Remember me on this computer".
To get rid of this, just delet cookies from your system from internet explorer.
http://www.cosmicwebservices.com/Login.aspx
Reply With Quote  
Join Date: Oct 2007
Posts: 9
Reputation: sandeep.thakur1 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
sandeep.thakur1's Avatar
sandeep.thakur1 sandeep.thakur1 is offline Offline
Newbie Poster

Re: not logging out properly

  #6  
Oct 14th, 2007
Hi !,
Today i too faced same problem so have solution now, may be this will help you.
you need to add this code to every page's "init" n not to login page please.
[code]
Response.Cache.SetCacheability(HttpCacheability.NoCache) 'stopping caching for login
If Session("Logged_IN").Equals("No") Then
Response.Redirect("Login.aspx")
End If
[\code]


and here is my global.asax file for your reference.
you need toset your like this.
[code]


<%@ Application Language="VB" %>

<script runat="server">

Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
' Code that runs on application startup

End Sub

Sub Application_End(ByVal sender As Object, ByVal e As EventArgs)
' Code that runs on application shutdown
End Sub

Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs)
' Code that runs when an unhandled error occurs
End Sub

Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs)
' Code that runs when a new session is started


'<summary>
' |Fires when the session is started
' |Administrator will only be allowed a certain number of login attempts
'</summary>
Session("Num_of_Tries") = 3
Session("LoginCount") = 0

' |Track whether they're logged in or not
Session("Logged_IN") = "No"

End Sub

Sub Session_End(ByVal sender As Object, ByVal e As EventArgs)
' Code that runs when a session ends.
' Note: The Session_End event is raised only when the sessionstate mode
' is set to InProc in the Web.config file. If session mode is set to StateServer
' or SQLServer, the event is not raised.
End Sub

</script>
[\code]
Reply With Quote  
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 11,020
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 33
Solved Threads: 116
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb

Re: not logging out properly

  #7  
Nov 3rd, 2007
I'm able to successfully log out on Internet Explorer, FireFox, and Opera on Windows Vista and in Safari and FireFox on OS X.
Reply With Quote  
Join Date: Apr 2004
Posts: 3,755
Reputation: Dave Sinkula is a glorious beacon of light Dave Sinkula is a glorious beacon of light Dave Sinkula is a glorious beacon of light Dave Sinkula is a glorious beacon of light Dave Sinkula is a glorious beacon of light Dave Sinkula is a glorious beacon of light 
Rep Power: 17
Solved Threads: 147
Colleague
Dave Sinkula's Avatar
Dave Sinkula Dave Sinkula is offline Offline
long time no c

Re: not logging out properly

  #8  
Nov 3rd, 2007
Well now I'm confused. [Mods, feel free to undelete the post I deleted and perhaps split this thread.]

I couldn't log out (from FF). I deleted all cookies (crap, but WTH). Then I could achieve a logout.

I logged in to respond to Dani's response which apparently beat my deletion, and now I'm trying to figure out IN/OUT. This end of the pipe is confused.

[edit]Heck just delete my bumpage. I seem to have resolved it on this end.
Last edited by Dave Sinkula : Nov 3rd, 2007 at 2:19 am.
Reply With Quote  
Join Date: Oct 2007
Posts: 9
Reputation: sandeep.thakur1 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
sandeep.thakur1's Avatar
sandeep.thakur1 sandeep.thakur1 is offline Offline
Newbie Poster

Re: not logging out properly

  #9  
Nov 3rd, 2007
if u want a demo just visit www.cosmicwebservices.com , I just created a nice authentication and authorization in security section. I gave the save idea here to this thread..
Reply With Quote  
Join Date: Jul 2005
Location: Texas
Posts: 4,834
Reputation: joshSCH is on a distinguished road 
Rep Power: 0
Solved Threads: 9
joshSCH's Avatar
joshSCH joshSCH is offline Offline
Banned

Re: not logging out properly

  #10  
Nov 3rd, 2007
Hmm.. actually, I'm now experiencing that problem. I've tried logging out in firefox on ubuntu and vista, but it doesn't ever actually log me out.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb DaniWeb Community Feedback Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the DaniWeb Community Feedback Forum

All times are GMT -4. The time now is 4:01 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC