Jump to content

Login big problem


buothz
 Share

Recommended Posts

Hi, after an image upload my processwire site http://www.cosascegli.it go to refresh... i've tried to enter with http://www.cosascegli.it/processwire/ with my pc with 4 browsers and with another pc but don't go!!!

I'm sure 100% that user and password are ok... what is the problem? I don't have message on screen about the login, only a fast refresh...

Can be a problem with the session/cache? I've see database and i haven't see problems... now there are a lot of problems in the site, specially in the language system...

Link to comment
Share on other sites

Hello Guys,

I am new to this platform. so far love the idea behind system. however i am facing a small problem relating to login any help or suggestion will be really useful...

Scenario:

I have created a seperate login page for members on my website, login works great and redirect to after login page which is perfect.... but when i logout of the page and immediately try re-login... it give me login failed error... but if i wait for couple of minutes and login, it works... i am not sure what i am missing...

any ideas...

TJ

Link to comment
Share on other sites

Beyond my response from your PM, I'd also suggesting doing a redirect after the logout, just in case that's causing any issue here.

if($input->get->logout) {
 $session->logout();
 $session->redirect('./');
}

Also make sure that no data is sent before the logout and/or redirect. Cookies (sessions) and redirects happen as a result of http headers, which are sent before any output. Once output is sent, headers are no longer applicable. So you could get unusual behavior if you'd output anything before the $session->logout() call.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...