May 3, 200520 yr My users need to log in to a database with a username and password automatically when they first hit the index page. At the moment the page is set up with a meta refresh that goes to the following - <meta http-equiv="refresh" content="1;URL=http://test:[email protected]:443/FMPro?-db=Mams.fp5&-token.9=0&-token.7=0&-format=media-library/loggingin.html&-FindAll"> i.e. <meta http-equiv="refresh" content="1;URL=http://[uSERNAME]:[PASSWORD]@[sERVER IP AND PORT]/FMPro?-db=[DATABASE]&-token.9=0&-token.7=0&-format=[FORMAT FILE]&-FindAll"> This works really well on a Mac from explorer, safari, firefox etc. It used to work on a PC a few months back till I came to do a bit of testing today! Now the PC internet explorer displays an invalid syntax message! Does anyone have any suggestions as to what is wrong for the PC? Thanks
May 3, 200520 yr IE 6 has been changed to not allow this syntax anymore because it could be used to redirect a user to a site other than what the user intended. Dana
May 3, 200520 yr Author thanks. Is there any way around it? I could try and change the database so there is no password need which is the effect I want (low level access to less records) as the only way to access the database is directly on the server or through my HTML pages.
May 3, 200520 yr The only ways I have found around this are: Create a low level account with no real privileges and either a) Show the username and password right next to the link for the DB so public users can log in. : Enable guest access so no one needs to put in a password, but then create a layout where you can run a relogin script for privileged users to gain more access to the database. I don't like option b because you can't mask passwords in filemaker fields, and you can't use custom or password dialogs in IWP. So option B would be better for CWP, but I like option a for purely IWP sites. Dana
Create an account or sign in to comment