You are here: Re: Session Problem « PHP Programming Language « IT news, forums, messages
Re: Session Problem

Posted by Paul Lautman on 01/12/08 13:13

noha khalifa wrote:
> Hi,
>
> I have a problem using session...
>
> I have a university web site from this site each student login with
> his username and password then i create a session variable for him for
> tracing student...
>
> there is a problem happened when say registering semester courses if
> two web pages opened for two students on the same machine, what
> happened is that when one try to register his courses it's registerd
> with the user of the second.
>
> what i want to do that when someone login with his user on a machine
> and another one try to login on the same machine with a different user
> at the same time, it gives him a message that there is a user already
> logging in and don't log him on until he closes the second user page.
>
> Hope that what i want to say is clear.
>
> thnx alot
> Noha Khalifa
> Web Developer at Misr University for Science & Techology

I assume you are using cookies to store the session id. Cookies are shared
between all insances of the same browser type. You need to use the method of
holding the session id in the url.

 

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

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