Topic: "Hmmm... these programming challenges...." (page 1 of 2)

1 2 >
Author Post
bboystu
groupmaster
Heya folks,

So I'm having a few probs witht these programming challenges .... In fact, just the one problem.... Basically, the problems themselves look pretty easy, however, whenever I try to get the "text", the script I run get directed to the login page. I'm trying to do it with php scripts running off of my local system, but from the look of it, the sessions aren't being used by my script. No idea.... any body had this same problem and over come it? Thanks in advance :)

BBoyStu
private message EMail
Erik
groupmastergroupmastergroupmastergroupmastergroupmaster
Hello,

you get redirected because you have to be logged in when you get any of the pages. So think how sessions work (maybe a cookie :-)) and how you could get your session ID. If you don't get it, write again.

bye Erik
private message EMail Website
bboystu
groupmaster
I've tried logging in, and no joy.... I've tried logging in directly to the log in script, then going to retrieve the "text", with no luck. I've interecepted the phpsessid variable, so i have my session id, and i've tried plugging it into the url, as well as posting it.... again, no joy.... I'm at my wit's ends! :)

BBoyStu
private message EMail
Erik
groupmastergroupmastergroupmastergroupmastergroupmaster
Hello,



COOKIE! :)



bye Erik



[[]%sig%[]]
private message EMail Website
bboystu
groupmaster
Hee hee.... not too subtle Erik... thanks, I'll give it another go :)



BBoyStu
private message EMail
bboystu
groupmaster
Heya again,



Got it workin finally... thanks alot Erik :)



BBoyStu
private message EMail
theblacksheep
groupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmaster
lol erik the helper god lol



theblacksheep



[[]%sig%[]]
private message EMail Website
Sapr0
groupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmaster
why don't u keep an open session like hq or netforce... would made those programing challenges more easy... i can't implement that cookie ... damn...
private message
Erik
groupmastergroupmastergroupmastergroupmastergroupmaster
Hello,

what is an open session?

bye Erik
private message EMail Website
Sapr0
groupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmastergroupmaster
well it means that once u r logged in u don't need to login everytime u access the site ... so when i try to request the text from that webpage it won't redirect me to the login page...

BTW anyone did programing challenge in perl or php ?
private message

Topic: "Hmmm... these programming challenges...." (page 1 of 2)

1 2 >