@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34



Comments:

<0> :)
<1> ace_me: type this --> /server irc.dal.net
<0> done
<2> ace_me: rather than running to another server, you would do well to understand what I explained to you
<0> I don't get it yet
<0> http://project02.talente.ro/prog/cl***es/svgimgcheck.php
<2> ace_me: what part?
<0> click on available images link and than fix
<0> you'll see the content of the field as it is
<0> and than the part with str_replace ... nothing
<2> ace_me: why are you using str_replace?
<2> ace_me: didn't I just explain to you that you don't need it?
<2> ace_me: do you listen to anything we say? or do you just ignore it and rephrase your question?
<3> aidan: Some people see through both eyes and let it p*** into /dev/null.
<4> haha
<5> zakabog: so you get paid good? if you don't mind me asking



<2> Xorlev: surely they're not smart enough to organise their data like that
<5> jymm: where did you say there was more free lancing jobs at?
<4> I get paid what I want, and hopefully if the site takes off like we think it will, I'll get a nice sized cut
<1> tdd1984 HappyHooker.orgy
<5> lol
<6> rofl
<6> !tell tdd1984 about jobs
<5> zakabog: thats good I"m gonna up the price on this lady becuase shes liek keeps changing things around on me, and adding stuff.
<1> and for real... http://BunnyRanch.com/
<3> aidan: No...probably not. They must just lump it in with their sitcoms.
<4> Hehe that reminds me, I've got a stripped working as like the programmer under me
<4> A stripper
<7> Hello
<7> How to convert a string in ascii please ?
<7> ascii 7 bit
<8> later
<5> ahh can someone help me out i get a error
<9> tdd: you still haven't learned to be less vague?
<5> I guess not
<10> hi friends
<10> how cross domain sessions are possible in PHP?
<11> save the session to a db
<10> no other option?
<11> then you can access the session info from anywhere
<12> Addy_: you have to control both servers, and that you have to export the session to the other server or have both servers using the same database
<12> Addy_: also, you have to set the same cookie (but with different server names) on the browser
<9> note that you can't set a cookie for a domain other than the one you're accessing
<10> deadroot: i am calling a ajax/javascript method on server A to execute a php file on server B to set session on server B and return value to end user of Server A but i am not getting newly set value
<9> so you'll need a fun cross-site scripting exercise
<5> trying to figure out why i got a error on line 188. Everything seems to be correct
<10> while directly accessing those php files set and get values of ***igned session values
<10> _lewell:do every call via javascript creates a seprate session on web server?
<4> tdd1984 lemme see the code
<12> Addy_: the $_SESSION uses cookies, and cookies are linked to the server that sets it
<9> Addy_: javascript itself doesn't do a thing about sessions
<9> *however*, you can use it to set cross-domain cookies :)
<5> http://pastebin.com/706031
<9> i.e., your page is http://site1.com/some.php
<10> but how will i know that user is Idle for certain period?
<12> Addy_: so server A cannot tell the user's browser to set the cookie for server B
<9> you have a script on that page loading from http://site2/some.js
<10> deadroot: hmm
<12> Addy_: server A must instruct the browser to visit server B, so that server B can give the cookie to the browser
<9> that script can access the cookies, and then set it in site2's domain
<13> hi. what do you use to read excel files into php?
<10> i have script on server A which calls a PHP oon server B which creates session
<10> so the cookie created on enduser browser will be from server A or fom server B?
<9> which domain are you setting it in?
<12> Addy_: the cookie belongs to the server that sets it
<12> Addy_: server A cannot be the proxy to set the cookie for server B
<12> only server B can do it
<9> deadroot: however a script on server B invoked from the html fed to the browser by server A *can* set a cookie in either domain, iirc :)
<10> _Lewellyn: i am making a Login oriented application which hit Server B via xmlHttprequest().what i want that if user is idle for 30 mins and tries to navigate then he gets error of session expire
<10> hope u guys wil understand what i am trying to do:)
<9> addy_: the details are irrelevant. they'll just clutter the actual problem.
<9> *which server* is feeding the cookie to the browser?
<12> what you can do is to have server B return the session ID to server A and server A will p*** the session ID to the browser, which will then use session ID when visiting server B. the script on server B, when seeing the session ID, can then reuse that to set the cookie session ID
<9> or that
<12> _Lewellyn: that sounds like an XSS exploit
<10> Server A becayse enduser have No idea about server B



<9> deadroot: not an exploit. that's how JS works.
<4> tdd1984 that's not the $sql = that I gave you
<9> scripts run in the context of the page, which is on "ServerA". however, being served from "ServerB" means they can set cookies in that domain, too.
<10> so session ID ***igned by server B will be stored in form of cookies on both server A and B?
<9> lots of web analytics take advantage of that
<12> _Lewellyn: setting the cookie for multiple servers from a single originating server?
<9> deadroot: only servers which the script is running in the context of.
<4> http://pastebin.com/706041
<4> That one should work
<10> _Lewellyn: i am trying to grasp yor idea but how will end user of server A be intimated about session expiration at server B?
<10> is there mandatory involvement of db to store sessions?
<9> is server a or server b setting the cookie currently?
<4> Oh yeah you need a ' before the ( and a ' before the , on the phonenumber= line
<10> right now it has not been done,for experimentr purpose i used xmlhttp to set a session on server B but i am unable to retrieve that ***igned value from the variable
<9> xmlhttp i can't help with
<9> cookies, i can
<5> zakabog: lol i seen that hold on
<10> xmlhttp is just to execute remote files which i think irrelevent to current topic
<5> do i need " or '
<10> oh yes one thing more.Server A doesnt have any PHP installed:)
<9> don't try to confuse me with irrelevancies )
<9> i'm easily confused at 00.30 some mornings :)
<10> hehe i am sorry.But target is that even a site where no php is installed could utilize session facility for the pages running on server A.since server A doesnt have session handling things like PHP so it has to use server B for session creation and deletion
<14> hey all
<14> i want the use to just click a button, and the system will backup the database... how is it possible?
<14> user*
<12> Addy_: not possible
<10> hmm
<10> deadroot: may i ask why?
<12> Addy_: server A cannot be the proxy for the session ID if it doesn't have some server-side processing capabilities
<9> at least, not sanely possible. there is a possibility, but it may require insanity and possibly stupidity.
<9> and the possible stupidity keeps me from elaborating
<10> but as _Lewellyn suggested of using cookies to store session Info,is it not possible to compare cookies of two different servers?
<12> Addy_: web servers don't accept cookies set by other servers
<9> i'm now failing to see why server a needs a session cookie
<12> they have no need for cookies
<10> _Lewellyn: just to store info so that server A could be intimiated for session expiration
<12> the only way for server A to p*** along a cookie from server B to the user is if server A is set to be a web proxy
<12> Addy_: web servers don't have the capacity to remember cookies!
<5> Zakabog: nothing man
<9> Addy_: you said that server a has no server side processing
<9> what session can expire on server a?
<12> Addy_: they have to programmed in. no static web servers needs cookies
<10> deadroot i meant to say cookies at end user End
<12> Addy_: your current idea is that server A is to act as the proxy between server B and the user, right?
<10> some background process keep checking session expiration at server B and if it finds session gets expired it checks session info in cookie of end user and it doesnt match then consider its expired
<10> deadroot: yes
<15> Addy
<10> in layman's word end user is intimated for session expiration on server B as it was expired on server A.
<15> to do this, you have two choices.....
<12> Addy_: and that server A has no processing capabilities right? then you're stuck. there's no way in hell you can transfer the session ID from server B to the user. not unless you set server A to be a web proxy
<9> he can use javascript. but it's not going to do what he actually wants, still.
<10> server A just have Jscript installed which calling server B script.Offcourse javascript also create cookies on end user of server A
<15> Addy, you get two options
<10> angusta and what are that
<15> P*** the cookie value back from Server A
<15> and put it in the cookie on user
<10> u mean session alue from server B?
<15> if you don't have session mgmt on server a, then that is your only option
<15> yeah
<10> ok I put.Now session is expired on server B.How to intimate user about it?
<15> I ***ume you are using Javascript to make a request to server B and return said request to client?
<10> excatly
<16> what does this error ussuallyy mean? Parse error: syntax error, unexpected T_LNUMBER, expecting T_VARIABLE or '$'
<15> ok, you need to do one of two things
<15> return the Headers sent back from Server B to the client (and hence the cookie operations)
<10> ok
<10> and next..?
<15> _or_ parse the cookie information from the Server B response in Javascript, and run a small script to set and destroy the cookie on the client from Server A
<15> However, either option means that you must retrieve the cookie from client in each request and p*** it onto server B
<15> so, either Server A acts as a transparent proxy
<10> issue is that if a session with value 12344 is set on server B and i go to retrieve that particular sesson info.i get nothing in return that is blank.


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #php
or
Go to some related logs:

gentoo glut blocks freeglut
LDAP + getting only 1000
ubuntu updated xpad
#web
#perl
kernel dnsdomainname: Host name lookup failure
#dns
#ubuntu
#osdev
debian compaq deskpro gdm problems



Home  |  disclaimer  |  contact  |  submit quotes