Click here to Skip to main content
15,901,122 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
i am making a site where user login and signup (if user write in the url login succes he access my page ) we require a not access with out login any page.of my site using session
Posted

1 solution

Try this PHP Sessions[^]
 
Share this answer
 
Comments
satlokg 15-May-12 3:46am    
but my warning is
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\inetpub\vhosts\outboxnews.co.in\httpdocs\admin.php:3) in C:\inetpub\vhosts\outboxnews.co.in\httpdocs\admin.php on line 4

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\inetpub\vhosts\outboxnews.co.in\httpdocs\admin.php:3) in C:\inetpub\vhosts\outboxnews.co.in\httpdocs\admin.php on line 4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900