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 #179966 is a reply to message #179957] Sat, 22 December 2012 23:43 Go to previous messageGo to previous message
Gregor Kofler is currently offline  Gregor Kofler
Messages: 69
Registered: September 2010
Karma:
Member
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
[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 Nov 25 04:01:26 GMT 2024

Total time taken to generate the page: 0.04020 seconds