| |
| |
| |
|
Page: 1 2 3 4 5 6
Comments:
<0> and charge <1> hm, Zenethian, what about a pure .net implementation? like, no sys, none of that, just the straight .net tree <2> erm <1> because it seems ironpython tries to be both <1> which, in my eyes, would cause conflict <3> true, thanks greg <4> Hi <4> Im having a little problems with session variables if anyone can help? <3> heh
<3> dejavu <4> ha <4> really? <4> Hi <4> Im having a little problems with session variables if anyone can help? <3> yea, not 5 seconds ago i fixed my session variable problem <3> oh god <4> haha <3> stfu with that **** <4> :( <4> thought it'd be ironic <3> i was gonna help you too ;/ <4> :) im nice <3> anyways, problem? <4> im trying to make my site really dynamic, therefore i have an index.php that changes depending on user <4> i have created session variable $_SESSION(['header']) <4> which contains the include path <4> then i update (i think) with javascript yet it doesnt change <3> why not just header refreh? <3> with php <4> as in header("location")? <3> no <3> header("refresh") <4> refreshes the content? <3> @header <5> (PHP 3, PHP 4, PHP 5) <5> void header ( string string [, bool replace [, int http_response_code]] ) <5> Send a raw HTTP header <5> http://www.php.net/header <1> header("Location: http://foo"); <6> who was it here working with Google API? <6> follower? <1> "Location:" is a special header to php
<1> throw it first <1> it'll make apache throw a 203 redirect (203?) <1> you can achieve the same with header("HTTP/1.1 <status>") <1> which is also special to apache <1> er, php <4> but that will redirect the wrong one, i update the session variable in an another php file <1> there is no such header("refresh") <1> unless the php devs slipped it in <1> so what do you want to do, Sarkie? spell it out <1> [13:51:13] <4> then i update (i think) with javascript yet it doesnt change <1> that's pretty vague <1> from what i gather, you have a session variable that you want changed when the user does something on your page, and you're trying to do it impossibly with javascript <1> am i right? <4> I have a php with a number of divs, with includes to php files, e.g. include(session variable header), i click a javascript button, which then loads a login.php that updates the session variable of header <1> http is stateless <1> "session variables" are a hack implemented on the server side <4> lamence terms <1> to update session variables AT ALL a complete state refresh will be needed, which means no javascript <1> that means the request will have to be redone <1> completely <4> so do an location <1> it won't affect the page you're looking at <1> i'm gathering someone does something in one of your divs and you'd like the result to magically be available everywhere else right? <4> well in the content part <4> yeah <1> header("Location:") must be the first thing sent to your client, which rules your case out <1> your solution is inaccessible using php <1> because php is all server side when you're dealing with http <4> thats what you get for trying to learn a new language <4> right <4> so <4> this a better idea <1> dare i suggest javascript? <1> maybe ajax? <4> ARRGGHH <4> nah <1> the dynamic way to go these days seems to be ajax <1> which looks like a lot of fun, i've been meaning to play with it
Return to
#php or Go to some related
logs:
#worldchat #india culear gajrare
minzy the movie #india #india #chat-world #india kl threesome
|
|