 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
Bob_Rancher
Joined: 31 May 2008 Posts: 1
|
Posted: Sat May 31, 2008 11:03 am How to go to previous web page-- |
|
|
|
Yes, I searched, found nothing---
I have a pretty basic Forum. Users must log in to the Forum - from inside the Forum they can log in to their email accounts - it is seamless, it appears to the user that they are still in the Forum site, but they are actually in a different site--- The email client has a 'log out' button -
I have code that will return the user to my forum:
<script type="text/javascript">
<!--
document.location.href = "http://www.Your_Home_page/";
//-->
</script>
BUT, this doesn't work for me because it returns the user to the forum HOME PAGE, and they must log in again.
In the same situation, if the user logs into the email client, and then rather than clicking on the 'Log Out' button, they hit the browser 'Back' button, it takes them straight back to the forum, without the need to log back in--
I would like to have code behind the 'Log Out' button that will do the same, take them straight back to the forum, not just log them out of the email client.
make sense???
Thanks very much for your help!! |
|
sticks464
Joined: 31 Dec 2006 Posts: 1110
|
Posted: Sat May 31, 2008 1:53 pm |
|
|
|
Give this a try. You can create a link anywhere to go back.
| Code: |
| <a href="javascript: history.go(-1)">Back</a> |
|
|
sfreemanHTML
Joined: 31 May 2008 Posts: 1
|
Posted: Sat May 31, 2008 2:57 pm thanks , BUT no success |
|
|
|
Thanks, anyway, but that just created a link-- I don't need a link --- What I need is that when the user logs out of the email progam that he is returned to the forum--- that link just puts you back to the login page for the email system---
thanks for trying-
| sticks464 wrote: |
Give this a try. You can create a link anywhere to go back.
| Code: |
| <a href="javascript: history.go(-1)">Back</a> |
|
|
|
Newbie101

Joined: 09 Oct 2008 Posts: 35
|
Posted: Fri Oct 10, 2008 6:37 pm just curious |
|
|
|
newbie answer but.
can't you link to another page that is identical to the index page except without all your log in coding.
Or I'd try an if else statement ahead of your log in code. probably too simple a response, but it rang a bell |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|
 |
|
|
|
|
|
|
|