•
•
•
•
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
![]() |
•
•
Join Date: Sep 2007
Posts: 50
Reputation:
Rep Power: 2
Solved Threads: 0
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
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
•
•
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 11,020
Reputation:
Rep Power: 33
Solved Threads: 116
When you click the back button in your browser, your computer is loading the cached version of the page for you.
Dani the Computer Science Gal
Do you run a computer-related website? Feature it in our niche link directory!
Do you run a computer-related website? Feature it in our niche link directory!
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
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
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]
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]
•
•
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 11,020
Reputation:
Rep Power: 33
Solved Threads: 116
I'm able to successfully log out on Internet Explorer, FireFox, and Opera on Windows Vista and in Safari and FireFox on OS X.
Dani the Computer Science Gal
Do you run a computer-related website? Feature it in our niche link directory!
Do you run a computer-related website? Feature it in our niche link directory!
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.
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.
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..
![]() |
•
•
•
•
•
•
•
•
DaniWeb DaniWeb Community Feedback Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
afghanistan backup badge bbc biometrics blair blog blogger blogging blogs breach building code community competition dani daniweb data protection database development events government iraq itv jbennet macs mail management member networking networks news photo php qmail search security serunson server smtp social social networking survey tags terrorist virtual web week yahoo!
- What's better? Windows 2000 Server or Linux Server? (Windows Servers and IIS)
- Logging (JSP)
- Booting problems; bit of an odd one (Windows NT / 2000 / XP / 2003)
- MSN and Hotmail Login Problems (Web Browsers)
- Logging out causes freeze (*nix Software)
- WIN XP Shuts down upon restart,BUT OK AFTER 30 MIN (Windows NT / 2000 / XP / 2003)
- Internet Explorer would not browse properly (Web Browsers)
- video card not detecting properly (Windows 9x / Me)
- Intel D815EEA PCI cards are not working properly (Windows NT / 2000 / XP / 2003)
- Linux Audio Streaming (live!) using Ices and Icecast (*nix Software)
Other Threads in the DaniWeb Community Feedback Forum
- Previous Thread: Translate icons, please
- Next Thread: trouble with the irc



Linear Mode