@pixelsoul: have you read my post http://www.daniweb.com/web-development/php/threads/449517/redirect-to-login-page-if-session-doesnt-exist#post1944798 .before commenting read it.
IIM 163 Master Poster
Webville312 14 Newbie Poster
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.