The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to force page reload after redirect ?
Hi,
I have developed a custom page that has a different navbar for authenticated users and for non-authenticated users (the authenticated users get more options). Now, the problem is that after logging in, the user is still presented with the old navbar (the navbar for non-authenticated users). The user must reload the page in order to see the navbar for authenticated users. How can I fix this ? I wouldn't want to disable the cache, because this page is going to be quite popular. Is there a better option ? It would be great to be able to specify somehow that after the redirect, the page that must be loaded should be taken from the server and not from cache. Is this possible ? Regards, Razvan |
#2
|
|||
|
|||
Would you want it so that everytime someone visits the page it refreshes or just after someone logs in :S
Code:
<body onload="window.setTimeout('window.location.reload()',1000);"> Hope thats what you meant |
#3
|
|||
|
|||
Quote:
Even if it could be made to work to refresh the page *only* after login, I still don't like this solution very much because the user will get a chance to see to old page for a second then that page will be reloaded without his request. This might be annoying for some users. |
#4
|
|||
|
|||
Make it a shorter time length then?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|