SRL Archive - SRL Stats

"Stay logged in" function?


Floor66

2011-03-16 12:55:03

I reckon this is not difficult to add at all to the login? It helps me because I have to retype in my login dets on my ipod ever so often when I visit my stats page and it's kinda annoying to do each time. :redface:

Tickyy

2011-03-16 16:06:58

From: Floor66
I reckon this is not difficult to add at all to the login? It helps me because I have to retype in my login dets on my ipod ever so often when I visit my stats page and it's kinda annoying to do each time. :redface:


I don't know if i actually understood what exactly you wanted to say but i hope this is what you need. If not then sorry :p.

Repeat
Wait(RandomRange(5000, 10000));
If(Not(LoggedIn)) Then
Login(whatever the functions called (i am rusty)).
Until(something);

Harry

2011-03-16 16:08:11

He is talking about SRL Stats, dood.

Tickyy

2011-03-16 16:08:59

From: Harry
He is talking about SRL Stats, dood.


aww lol, i didn't even see the "SRL-Forums > SRL Development > SRL Stats"

Damn! I'm so inactive lately.

Floor66

2011-03-16 16:09:36

haha lol yeah you gave me a good laugh there :P
I'm talking more in a PHP way here ^^

Dgby714

2011-03-16 16:21:19

The stats website is python not php.

Floor66

2011-03-16 16:22:10

oh kk but still, wouldn't it be possible? just a simple cookie?

i luffs yeww

2011-03-16 19:28:58

Can Python utilize cookies the same way as PHP? :o I guess you could make something to do it how you want in Python, but if there was a set_cookie() or something in urllib2 or whatever, that'd be cool.

Putnam

2011-03-16 20:11:58

Yeah, Python can utilize cookies.
http://docs.python.org/library/cookie.html