FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Pass varible with out URL and SESSION
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Pass varible with out URL and SESSION [message #179967 is a reply to message #179966] Sun, 23 December 2012 00:09 Go to previous messageGo to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
Senior Member
On 22/12/12 23:43, Gregor Kofler wrote:
> Am 2012-12-22 18:23, Twayne meinte:
>> In news:kb4guc$dng$2(at)news(dot)albasani(dot)net,
>> The Natural Philosopher <tnp(at)invalid(dot)invalid> typed:
>>> On 22/12/12 13:26, Scott Johnson wrote:
>>>> On 12/22/2012 5:15 AM, Denis McMahon wrote:
>>>> > On Sat, 22 Dec 2012 01:18:53 -0800, Biju S wrote:
>>>> >
>>>> >> Pass varible to One page to other page ....
>>>> >> With out Url varible and session ....
>>>> >> any way
>>>> >
>>>> > Put it in a cookie that gets saved on the client. Use
>>>> > javascript to manipulate the cookie to store / retrieve
>>>> > the value. Ask in a javascript group or forum for more
>>>> > details. Won't work if the client routinely disables
>>>> > javascript from untrusted servers.
>>>>
>>>> Or POST I suppose
>>>>
>>> well, POST is all there is, since session stuff IS
>>> cookies, just in a pretty dress.
>>>
>>>
>>>> Scotty
>>
>> Not quite: Sessions do not put anything on the client side machine.
>> It's all
>> kept on the server if it's wrtten properly. They definitely are NOT
>> cookies;
>> please have a look at the manual.
>
> They *frequently* do. Unless one doesn't want to transfer the session id
> as URL parameter, it is stored in a session cookie which contains the
> session id, which the server then can use to access the server-side
> stored actual data.
>
> Since you advise others to read the manual - have a look at:
>
> http://php.net/manual/en/session.idpassing.php
>
> " There are two methods to propagate a session id:
>
> Cookies
> URL parameter
> "
>
> Gregor
>
>
well exactly. There are only three ways to keep track of a browser state
between pages: cookie, GET or POST.

sessions are just a noob wrapper.




--
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to
lead are elected by the least capable of producing, and where the
members of society least likely to sustain themselves or succeed, are
rewarded with goods and services paid for by the confiscated wealth of a
diminishing number of producers.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: simple dating site
Next Topic: Current PHP implementation
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Jul 01 06:40:18 GMT 2024

Total time taken to generate the page: 0.04815 seconds