Hi

I wonder if anyone could help me with this idea.
I would like to automatically redirect a user once they have logged in. An good example would be like daniweb's, a page appears saying 'you will be redirected in 3 seconds otherwise click here'.

Is this done through javascript, php or ajax ?
How would it be written?

Thanks for any help

header( 'refresh: 5; url=http://www.example.com' );

Can also be a url relative to your site, like: home.php etc.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.