Results 1 to 8 of 8

Being logged off after searching admin site

This is a discussion on Being logged off after searching admin site within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; Hi. I'm hoping someone can help me out or point me in the right direction... In the Admin section, I ...

      
  1. #1
    New Member
    Join Date
    Jan 2007
    Posts
    11
    Rep Power
    0


    Default Being logged off after searching admin site

    Hi.

    I'm hoping someone can help me out or point me in the right direction...

    In the Admin section, I go to Customers -> Orders

    There is an "Order ID:" labeled text-box in the upper right corner of the screen. This text box allows me to search the orders by just typing the Order ID.

    The problem is, I type an order ID, press [Enter], and get sent back to the login screen to login AGAIN. The second time around, it works as intented: I type an order ID, press [Enter], and then it finds it.

    Any thoughts? Anyone?


    AEAVA.

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default Re: Being logged off after searching admin site

    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    New Member
    Join Date
    Jan 2007
    Posts
    11
    Rep Power
    0


    Default Re: Being logged off after searching admin site

    Hi,

    I commented out the lines listed in the bug tracker, but it didn't help.

    Any other thoughts?

    Thanks.

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default Re: Being logged off after searching admin site

    I am not sure what it could be, as I cannot reproduce it on our development site. The searches work without any problems for me.

    It is most likely the session is being dropped for some reason. Did you change the sessions settings in the admin by any chance?
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    New Member
    Join Date
    Jan 2007
    Posts
    11
    Rep Power
    0


    Default Re: Being logged off after searching admin site

    I haven't changed anything on the admin side.

    The weird thing is: I do any search (orders, customers) and I lose my session information. Then I can log back in and it works without problems...

    ??

  6. #6
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default Re: Being logged off after searching admin site

    Try clearing all your cookies in your browser by manually deleting them. Then close all browser instances and restart the browser.

    What browser are you using? Does it do this in different browsers or just one?
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  7. #7
    New Member
    Join Date
    Jan 2007
    Posts
    11
    Rep Power
    0


    Default Re: Being logged off after searching admin site

    I've tried this with different browsers (IE6, IE7, FF2).

    I have found a solution... Though not the reason yet.

    the site URL is something like this:

    (1) http://domain.com/folder/admin

    The user was accessing the page using the following link

    (2) http://www.domain.com/admin, which was doing a simple http refresh forward to (1).

    When accessing the site via (2), everything works fine, except when searching, it logs you out.

    When accessing the site via (1), everything is fine.


    AEAVA

  8. #8
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default Re: Being logged off after searching admin site

    You have to access the admin panel by the url set up in the configure.php. It sets the session cookie based on the exact domain, and if you switch domains, it will create a new session.

    That is a key detail that you left out - switching urls. If you had posted that info in the first place, I could have helped you right away.

    Just remember to include everything, even if you think it is insignificant.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

  1. How can I speed up the searching of products?
    By Goweb in forum osCmax v2 Installation issues
    Replies: 2
    Last Post: 11-24-2005, 02:50 PM
  2. Special Prices change to £0 when logged in !!!
    By fuzioneer in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 06-10-2005, 06:45 AM
  3. Searching in admin for Products Model
    By modMan7 in forum osCMax v1.7 General Mods Discussion
    Replies: 2
    Last Post: 02-19-2005, 06:30 PM
  4. Searching Manu Turns up 0
    By horsewhip in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 09-01-2004, 09:26 AM
  5. Can't stay logged-in...
    By artloftart in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 07-21-2004, 01:17 PM

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
  •