You are here: Conditional session, only start session for certain users. « All PHP « IT news, forums, messages
Conditional session, only start session for certain users.

Posted by Rik on 11/27/05 14:19

Hi,

I'm building a page where a small group of users can log in and alter the
site, most users are just visitors and cannot login. What is the best way to
to only use a session when either:
1. User is already logged in (session is exists).
2. Inlogform is submitted.

Is this possible?

If not:
How can i prevent the ugly PHPSESSID=blabla in the url when the browser
won't accept cookies?

Grtz,

Rik

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация