Jump to content

Going back once loged in


Exoon

Recommended Posts

Hello, ive made a php login system but what i was it to do is once theyve loged in i would like it to go back to where they previously were. Im current using javascript to go back 1 page which works but it dosent refresh the page when they go back so its still showing the old page and not showing them as loged in, is there anything else i can do to let the user to back to the page they was on before logging in.

Link to comment
Share on other sites

How will that take them back to where they last were and refresh it?

 

<meta http-equiv="refresh" content="5;javascript: history.go(-1)" />

 

Ive got that at the moment, it takes me back but dosent fresh the page once theyve been taken back

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.