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

Posted by Gordon Burditt on 11/24/40 11:28

>In the attempt to keep the URL and code quite clean, and avoid to have a
>very loooong url, we have used $_session[] for storing values trough the
>pages.
>
>Now, we have some clients that doesn't get any result when going on the
>second page. After studying their browser, the confidentiality setting was
>at the maximum. On their settings, the site doesn't work well.

This probably means that session cookies are not accepted.
Sessions require passing the session ID around, and the
existing choices are (a) cookie or (b) URL.

>Since we can't change the setting for every client, what may we do ?
>
>For passing session variable does it suffice to put a .SID at the end of
>every URL as we didn't do it.

You need to pass the SID somehow, and that's one way. Also look
at trans_sid, which may do much the same thing but save you some
work. It puts the session ID in the URL unless it appears that
cookies are working.

>And for POST submission, where we want to keep some values, how to we put a
>SID at the form tag ?

Hidden field with the SID in it?

Gordon L. Burditt

 

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

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