"hartmut" wrote:[color=blue]
> Raju V.K wrote:[color=green]
> > I am developing a web site which requires a set og unique[/color]
> values be[color=green]
> > transferred between pages and server many times. There fore[/color]
> i decided[color=green]
> > to put the values in an array so that only one reference to[/color]
> the array[color=green]
> > is needed ratherthan idividual reference. The situation is[/color]
> like this:
>
> Any reason for not using sessions?
>
>
http://php.net/session
>
> --
> Hartmut Holzgraefe, Senior Support Engineer
> .
> MySQL AB,
www.mysql.com
>
> Are you MySQL certified?
www.mysql.com/certification[/color]
One word of caution re: sessions
The user is perfectly capable of opening multiple pages from the same
website. Sessions are used for page-independent parameters (e.g. user
name/password, ...). If your info is page-specific don’t use
sessions, or if you do, make sure untargeted pages don’t use it by
mistake. You can do so by adding the target url info to the session
content.
--
Posted using the
http://www.dbforumz.com interface, at author's request
Articles individually checked for conformance to usenet standards
Topic URL:
http://www.dbforumz.com/PHP-Passing-...ict189354.html
Visit Topic URL to contact author (reg. req'd). Report abuse:
http://www.dbforumz.com/eform.php?p=639935