Forum Moderators: coopster
After doing your secure stuff; create a "Thank you" page (or whatever is applicable to your situation) on your secure server that has a plain old link to the non-secure site.
If the referer is blank just send them to a standard entrance point.
You could also use a new window for logging in and use js to refresh the parent window.
There are a bunch of ways to do it.
The only way to supress is if they check "do not show me this message again"
MY Web has a login side on each page that makes the user login any time he wants and i want to redirect him to the same place he was
I assumed,
1. you have a link to the login on every page
2. user logs in
3. you want to send them back to the page they came from
if so, you grab the referer, test it to make sure it's from your site somewhere
Then you can use the header function to send them back to the same page they came from.