Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Problem with LWP, frames, login, and parent.main.location.replace()

by Masem (Monsignor)
on Mar 02, 2001 at 23:01 UTC ( [id://61859]=note: print w/replies, xml ) Need Help??


in reply to Problem with LWP, frames, login, and parent.main.location.replace()

As merlyn points out, it's probably a state checker. looking at the long id parameter in both URLs, I would suspect that that's an obfuscated code that included the time when the code was generated; the server can determine if the time now and the time the code was generated was recent enough to allow the request. This is basically what I'm building into a site with some dynamic and restricted content to prevent bookmarking or linking to such content, but also to protect those users that might be using shared machines (so if a malicious user on that machine finds my site in the history logs, they won't be able to access the previous user's session unless they log in again).

Probably in the case of this first script, being logged in may not be a necessity and thus the code is ignored.

  • Comment on Re: Problem with LWP, frames, login, and parent.main.location.replace()

Replies are listed 'Best First'.
Re: Re: Problem with LWP, frames, login, and parent.main.location.replace()
by BinBerliner (Novice) on Mar 02, 2001 at 23:07 UTC
    I thought about that. The code does seem to change depending upon the browser one uses but apparently not with time or any special tricks like that. I checked this by simply going with my regular browser to the URLs...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://61859]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-04-24 10:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found