Jump to content

directing to dashboard while second time login without clicking login button


deesha

Recommended Posts

i want my login page to directly redirect to dashboard page when i am logging in for second time if the username and password matches with the what in the database..

but it should has to directly login without clicking login button for second time.

 

 

please can somebody help me with this.

i have tried several methods but not working

Link to comment
Share on other sites

1 hour ago, deesha said:

i want my login page to directly redirect to dashboard page when i am logging in for second time if the username and password matches with the what in the database..

but it should has to directly login without clicking login button for second time.

 

 

please can somebody help me with this.

i have tried several methods but not working

This link should help you to enable "Remember Me"

Link

Link to comment
Share on other sites

the only redirect you should have on your site is upon successful completion of post method form processing code, and it should be to the exact same url of the current page to cause a get request for that page. this will prevent the browser from trying to resubmit the form data if that page is reloaded or navigated away from and back to. either integrate the login operation on any page that needs it or provide navigation links on the login page to let visitors navigate to other pages.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.