Protected Directory - Login Twice

Discussion in 'HTML' started by MrC, Sep 27, 2004.

  1. MrC

    MrC Guest

    I have set up a password protected sub directory in my website with a
    wmv file in it. When I go to access the file it asks me to login twice.
    Any help is appreciated...

    Thanks...

    BTW if this is the wrong newsgroup for this question, can someone
    suggest the right one...
     
    MrC, Sep 27, 2004
    #1
    1. Advertising

  2. MrC

    Toby Inkster Guest

    MrC wrote:

    > I have set up a password protected sub directory in my website with a
    > wmv file in it. When I go to access the file it asks me to login twice.
    > Any help is appreciated...


    It is probable that your browser asks for the password, starts recieving
    the file, realises that it can't handle the file so passes the URL (but
    not the user name and password!) to your media player. Your media player
    then attempts to download the file, realises it needs a user name and
    password and asks you.

    --
    Toby A Inkster BSc (Hons) ARCS
    Contact Me ~ http://tobyinkster.co.uk/contact
     
    Toby Inkster, Sep 27, 2004
    #2
    1. Advertising

  3. MrC

    Dan Abrey Guest

    "Toby Inkster" <> wrote in message
    news:p...
    > MrC wrote:
    >
    > > I have set up a password protected sub directory in my website with a
    > > wmv file in it. When I go to access the file it asks me to login twice.
    > > Any help is appreciated...

    >
    > It is probable that your browser asks for the password, starts recieving
    > the file, realises that it can't handle the file so passes the URL (but
    > not the user name and password!) to your media player. Your media player
    > then attempts to download the file, realises it needs a user name and
    > password and asks you.


    Surely the browser would display the directory listing rather than the media
    file though.
     
    Dan Abrey, Sep 27, 2004
    #3
  4. MrC

    MrC Guest

    Toby Inkster wrote:
    > MrC wrote:
    >
    >
    >>I have set up a password protected sub directory in my website with a
    >>wmv file in it. When I go to access the file it asks me to login twice.
    >>Any help is appreciated...

    >
    >
    > It is probable that your browser asks for the password, starts recieving
    > the file, realises that it can't handle the file so passes the URL (but
    > not the user name and password!) to your media player. Your media player
    > then attempts to download the file, realises it needs a user name and
    > password and asks you.
    >

    Yes thats whats happening, I tried it in both IE and Netscape and the
    second request is from the mediaplayer. Is there something I can do to
    fix this??

    Thanks...
     
    MrC, Sep 27, 2004
    #4
  5. MrC

    Toby Inkster Guest

    Dan Abrey wrote:
    > Toby Inkster wrote:
    >> MrC wrote:
    >>
    >>> wmv file in it. When I go to access the file it asks me to login twice.

    >>
    >> It is probable that your browser asks for the password [...]
    >> Your media player then attempts to download the file, realises it needs
    >> a user name and password and asks you.

    >
    > Surely the browser would display the directory listing rather than the
    > media file though.


    Why? It will generally display whatever page it was displaying before the
    user clicked on the link to the media file. That might be a regular web
    page, or an automatically generated directory listing (which *is* a
    regular web page as far as the browser is concerned).

    --
    Toby A Inkster BSc (Hons) ARCS
    Contact Me ~ http://tobyinkster.co.uk/contact
     
    Toby Inkster, Sep 28, 2004
    #5
  6. MrC

    MrC Guest

    MrC wrote:
    > Toby Inkster wrote:
    >
    >> MrC wrote:
    >>
    >>
    >>> I have set up a password protected sub directory in my website with a
    >>> wmv file in it. When I go to access the file it asks me to login
    >>> twice. Any help is appreciated...

    >>
    >>
    >>
    >> It is probable that your browser asks for the password, starts recieving
    >> the file, realises that it can't handle the file so passes the URL (but
    >> not the user name and password!) to your media player. Your media player
    >> then attempts to download the file, realises it needs a user name and
    >> password and asks you.
    >>

    > Yes thats whats happening, I tried it in both IE and Netscape and the
    > second request is from the mediaplayer. Is there something I can do to
    > fix this??
    >
    > Thanks...


    If you have Mediaplayer 9 this works (with the double login). With
    Mediaplayer 6 it sits there for a while and then times out. Is there a
    way to fix this ????
     
    MrC, Sep 29, 2004
    #6
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andreas Klemt
    Replies:
    2
    Views:
    569
    Andreas Klemt
    Jul 5, 2003
  2. Philippe Meunier
    Replies:
    1
    Views:
    317
    Mike Moore [MSFT]
    Oct 24, 2003
  3. Stephen Miller
    Replies:
    5
    Views:
    9,222
    kaverao
    Sep 17, 2009
  4. Replies:
    1
    Views:
    447
  5. Kiuhnm

    twice(twice(x))

    Kiuhnm, Apr 1, 2006, in forum: C++
    Replies:
    2
    Views:
    409
    Kiuhnm
    Apr 1, 2006
Loading...

Share This Page