hi all,
I have been using serendipity blog recently and found it to be a great tool. But I'm stuck with one problem. As soon as I open the website, I want it to be redirected to the login page directly without showing the index page. In brief, This redirection should happen whenever the user is not logged in............I've tried it with some headers and html codes in the index page. I got it to work but don't know why there is some delay before redirection...........How can I avoid that delay???
Please help me solve this !!!
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
hi Garvin,
Thanks a ton for ur instant reply. Your code is fine and we could get the page without delay....but it gave rise to new problem. Our page layout has been changed. There is no template behind and only plain text is being displayed!! what do we do now?
Don't know. I'll need your URL to see what you mean. Most probably your CSS is not loaded because it also requires that you're logged in. Maybe you'll need to change the code I told you to not redirect if CSS is requested (see index.php below for the IF-clause that checks if CSS is requested).
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/