Jump to content
Sign in to follow this  
Kyan

Check PHPSESSID cookie status

Recommended Posts

Kyan

Hi

I don't now if you evaluate this as against the rules, if so, delete this topic....

There's anyway to check if a specific PHPSESSID is logged or not?

since a PHPSESSID is md5 hashed to a computer IP, maybe browser settings, and its always the same even if you're logged or not, from what I saw in my readings....

regards

Edited by DiOgO

Heroes, there is no such thing

One day I'll discover what IE.au3 has of special for so many users using it.
C'mon there's InetRead and WinHTTP, way better
happy.png

Share this post


Link to post
Share on other sites
StringingLong

Ask the question in a PHP forum. How this has anything to do whatsoever with AutoIt is beyond me.

Share this post


Link to post
Share on other sites
JLogan3o13

StringingLong, if you don't understand the question being asked, why respond to it? Telling someone to look elsewhere because you don't understand what he's trying to accomplish doesn't make a lot of sense ;)


√-1 2^3 ∑ π, and it was delicious!

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites
dany

mkay, then I'll give my 2 cents.

If you mean checking from AutoIt then no. It's handeled server-side, so at least you'd need AutoIt to run on the server. And then find a way to pass the PHPSESSID from PHP to AutoIt. That's quite a lot of hoops to jump through.

ProTip: Clear your cookies and browser cache and restart your browser. Your Session ID should now have changed. If not then there's a custom script on the server-side generating ID's (and not a good one I might add). session_id() is a hash of gettimeofday(), REMOTE_ADDR (IP) and optionally some random bytes and thus relatively unique.


[center]Spiderskank Spiderskank[/center]GetOpt Parse command line options UDF | AU3Text Program internationalization UDF | Identicon visual hash UDF

Share this post


Link to post
Share on other sites
Kyan

mkay, then I'll give my 2 cents.

If you mean checking from AutoIt then no. It's handeled server-side, so at least you'd need AutoIt to run on the server. And then find a way to pass the PHPSESSID from PHP to AutoIt. That's quite a lot of hoops to jump through.

ProTip: Clear your cookies and browser cache and restart your browser. Your Session ID should now have changed. If not then there's a custom script on the server-side generating ID's (and not a good one I might add). session_id() is a hash of gettimeofday(), REMOTE_ADDR (IP) and optionally some random bytes and thus relatively unique.

I'm using winhttp...and yes, it changes for every session, or if your session cookie is deleted, even I login sucessful I don't know if I'm logged if I don't read the page or try to acess into a page...it implies downloading the page = +time, but if is the only way, is what i'm going to do...

Heroes, there is no such thing

One day I'll discover what IE.au3 has of special for so many users using it.
C'mon there's InetRead and WinHTTP, way better
happy.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×