Results 1 to 4 of 4

Thread: Not able to sign out from my admin page

  1. #1
    Join Date
    May 2009
    Posts
    1,070

    Not able to sign out from my admin page

    Hi! I made a webbased business developing site for a travel based company as my Project for final year. My webpage also consist of an Admin page through which I can modify and add necessary stuffs. But the problem is when I login to the page it is does not get logout when I click on logout. What could be the problem. I use Firefox 3.0 as my web browser. My front end is Html, Asp and backend MS Access. Please help.

  2. #2
    Join Date
    May 2008
    Posts
    2,297

    Re: Not able to sign out from my admin page

    You may have coded the session wrongly or coded the half part for logging out. The session has to be abandon or expire in order to get logout form the page. When you do not do this stuffs the page gets redirected to the same when clicked back. This is not proper infact this should not happen. This might cause that any user using that machine can use the admin page as the session has not been expired. Mention the expire code on your asp page.

  3. #3
    Join Date
    Nov 2005
    Posts
    1,323

    Re: Not able to sign out from my admin page

    This issue can be resolved by setting an example for the logout code. You need to take out the code and check for the logout session to be expired and should not be reverted back. Follow this code it may help you out.
    <%
    Response.Expires = -1000
    Response.Buffer = True
    If Request.Form("login") = "true" Then
    call CheckLogin
    Else
    call ShowLogin
    End If
    If LCase(Request.Form("username")) = "fresh" And LCase(Request.Form("userpwd")) = "fresh" Then
    Session("UserLoggedIn") = "true"
    Response.Redirect "show.asp"
    Else
    Response.Write("<span class=style4 >")
    Response.Write("Login Failed.")
    Response.Write("</span><br><br>")
    ShowLogin
    End If
    End Sub
    %>

    This is an asp coding for the logout page. Source: bytes.com

  4. #4
    Join Date
    Oct 2005
    Posts
    2,393

    Re: Not able to sign out from my admin page

    There can be a possibility with the backend as well. As your connectivity for login the page is related to the backend for username and password it may be that you might be entering them wrongly or the database may have Lower case sensitive characters. Check for the database and do the necessary ailments to be fulfilled. This will definitely help you out. Hope this will solve your query.

Similar Threads

  1. How to access CM100 status or admin page
    By Bhumi in forum Networking & Security
    Replies: 2
    Last Post: 05-06-2012, 03:40 PM
  2. lost the admin rights of the page which is created by me
    By Faizah in forum Technology & Internet
    Replies: 3
    Last Post: 17-06-2011, 10:47 PM
  3. oracle admin page cannot connect
    By Yret in forum Operating Systems
    Replies: 4
    Last Post: 13-11-2010, 06:37 PM
  4. hotmail sign-in blank page
    By Xander in forum Technology & Internet
    Replies: 4
    Last Post: 24-07-2009, 02:30 PM
  5. Can't delete worms due to Admin. sign on
    By MarAmmo in forum Networking & Security
    Replies: 2
    Last Post: 09-04-2009, 08:48 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,551,756.28623 seconds with 17 queries