This topic is locked

Login as guest -- Issue

2/29/2008 04:48:54
PHPRunner General questions
W
wex-alpha author

Hello,
I have made my application and I am very satisfied, but I do have a small problem.
I have set up password protection from table. Everything works as intended (user logs ins, changes pass...), but there is a problem with guest.
When someone opens to my application, he has 2 choices:

  • Log in using user/pass (then you can edit things)
  • Press button and log in as guest (only view)
    When someone presses guest button, he logs in as guest...no problem.
    When he logs out of guest, and tried to log back again as guest, I receive message under my login button
    Your session has expired. Please login again.


Also here is the URL in that moment:

http://localhost/login.php?message=expired


After some time I don't have session expired. But it starts again.
I user IE, FF, Opera and Safari. Same thing on all browsers. Is there a way to remove session expired but only on Guest?
Thank you <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=7735&image=1&table=forumtopics' class='bbc_emoticon' alt=':)' />

W
wex-alpha author 3/28/2008

Hello,

I have made my application and I am very satisfied, but I do have a small problem.
I have set up password protection from table. Everything works as intended (user logs ins, changes pass...), but there is a problem with guest.
When someone opens to my application, he has 2 choices:

  • Log in using user/pass (then you can edit things)
  • Press button and log in as guest (only view)
    When someone presses guest button, he logs in as guest...no problem.
    When he logs out of guest, and tried to log back again as guest, I receive message under my login button
    Also here is the URL in that moment:

http://localhost/login.php?message=expired


After some time I don't have session expired. But it starts again.
I user IE, FF, Opera and Safari. Same thing on all browsers. Is there a way to remove session expired but only on Guest?
Thank you <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=27413&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />


I have tried and could not resolve tis issue. If there is a way to decrease a session value down to minimum time, that would work too.