Re: restricting direct access to popup form--advice needed
From: Xenophobe (xenophobe_at_planetx.com)
Date: 08/03/04
- Next message: 1: "image of the week type script?"
- Previous message: Chris: "Re: Select box"
- In reply to: R. Rajesh Jeba Anbiah: "Re: restricting direct access to popup form--advice needed"
- Next in thread: R. Rajesh Jeba Anbiah: "Re: restricting direct access to popup form--advice needed"
- Reply: R. Rajesh Jeba Anbiah: "Re: restricting direct access to popup form--advice needed"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 03 Aug 2004 15:08:53 GMT
Why? Because the new popup window is treated as a new session. If you know
of a way to retrieve session values from another window please advise.
"R. Rajesh Jeba Anbiah" <ng4rrjanbiah@rediffmail.com> wrote in message
news:cengnn$skd@odbk17.prod.google.com...
> Xenophobe wrote:
> > I have a popup window (required by the client) containing a form and
> would
> > like to prevent users from accessing it directly. They are instead
> required
> > to access the page via a hyperlink on another page. HTTP_REFERER,
> while not
> > completely reliable, would serve the purpose except for another
> problem. The
> > hyperlink points to a JavaScript function which opens the popup. This
> yields
> > HTTP_REFERER worthless.
>
> JavaScript: Fiddle with window.parent object
> PHP: Use session
>
> > My other thought was to create a session_id and pass
> > it to the popup. However this session_id would not be valid in the
> new popup
> > window.
>
> Why??
>
> Also, please look at the archives and read the recent thread titled
> "How to redirect based on $_SERVER["HTTP_REFERER"]?"
> --
> | Just another PHP saint |
> Email: rrjanbiah-at-Y!com
>
- Next message: 1: "image of the week type script?"
- Previous message: Chris: "Re: Select box"
- In reply to: R. Rajesh Jeba Anbiah: "Re: restricting direct access to popup form--advice needed"
- Next in thread: R. Rajesh Jeba Anbiah: "Re: restricting direct access to popup form--advice needed"
- Reply: R. Rajesh Jeba Anbiah: "Re: restricting direct access to popup form--advice needed"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|