So yeah...i was working on a project i
have to test a few features but i have to login every time i start my
application but the website started "No No" after three consecutive
loggins so i came up with the idea of saving session cookies to a file
and loading 'em to login...
I decided to put an example togetter for you guys!
So this is how it works...save the "Global Cookie" container to a file
via a structure along with other session info using serilization(i'm
using binary) and load 'em everytime you need to login from that
particular file("*.cok" in my case)....it's like webrequest based
simulation of the "Remember Me" thing.
It can be also be used to use the same cookies for different
applications...you can use the binder class to do that(in case you are
willing to use the binary serialization :3)
you can also encrypt the cookies before saving them to the file and decrypt 'em back for using.
I'm using gamerage.com as an example(i wrote the example a while back
for some dude just modifying it to save/load session cookies)