You are here: Re: global vars on/off « PHP Programming Language « IT news, forums, messages
Re: global vars on/off

Posted by P Pulkkinen on 02/08/07 15:07

"Sonnich" <sonnich.jensen@elektrobit.com> kirjoitti
viestissδ:1170943606.930964.327430@s48g2000cws.googlegroups.com...
> Thank yuo all for your input, it has been useful.
>
> I will also now take a look at $_SESSION in stead of having a ?
> sessionid=, which is visile to the user.

Hello still!

I am "bothered" by the word "instead" here, so I want to make sure there's
not any misunderstanding:

- You use $_SESSION to read and write session variables.

- You might see ?sessionid=23423423 automatically appear in your urls,
because that's how your php might be configured to maintain
sessions(session.trans_id). Alternative to this is use of cookies:
session.use_cookies

So instead of thinking "instead", just separetely enjoy $_SESSION itself
and if you want at the same time start to worry thing #2, do it. But don't
make it "instead" but "in addition to this"..

:-)

 

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

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация