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 #179960 is a reply to message #179959] Sat, 22 December 2012 18:45 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 12/22/2012 1:09 PM, Denis McMahon wrote:
> On Sat, 22 Dec 2012 09:32:16 -0500, Jerry Stuckle wrote:
>
>> On 12/22/2012 8: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.
>>>
>>>
>> You don't need javascript to use cookies. PHP does it quite well by
>> itself.
>
> Guess it depends where he wants the variable.
>
> I was assuming he wanted the variable in a script on the client, and that
> was why he was trying to pass it from page to page without using server
> side code. I may have been over-thinking things. :)
>
> i.e I'm reading his request as looking for a method of maintaining some
> sort of state information on the client side when using e.g. free hosting
> that doesn't allow for any sort of server side scripting.
>
> Perhaps the OP could give us a little more detail about what he actually
> wants to do.
>

Even if he uses javascript, he needs to pass the value back either in
the cookie, the URL or a POST value - any of which can be done without
javascript.

I agree we need more detail about what he's trying to do (and what he
has against using the $_SESSION array).

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[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: Sat Nov 30 20:08:25 GMT 2024

Total time taken to generate the page: 0.04751 seconds