in reply to keep a user signed in
The LWP library has a number of Cookie Jar subclasses to support the main cookie store formats. The trick is to subclass the cookie jar to write out session cookies (that have no expiration time) such that they expire at some point in the future E.g. later today.
This is something that I do on from time to time to test an automated login for website indexing. I wouldn't suggest that you do this on a regular basis. Read the comments from the other monks about potential issues with this approach. You may wish to restate the problem so we can help you find a better solution.
|
|---|