Jump to content

Need help to autologon to a sub page


Recommended Posts

Hi everyone,

I'm a volunter firefighter  and we install a display in the fire station to display the avalability of ours team, I create a Kiosk under linux to acces a webpage.

the website need credential to log on !

So I create a html page on my personal website and I am able to acces the site whitout entering the credential (i know its not secure!!!).

My problem is that I need to reach a sub page ( calendar) and I cant reach it automaticaly , so if the pc restart we can't see the calendar whitout clicking on the icon.

I'm not a programer and I can't find a solution. I tried few thing whitout succes

this is a example (I put a button for testing)

<form target="_blank" action="https://websiteXXXX.ca/sessions/authenticate" method="POST">
      <input type="hidden" name="user[login]"value="XXXusernameXXX"/>
      <input type="hidden" name="user[password]" value="XXXpaswwordXXX"/>
      <input onclick="window.location.href = 'https://websiteXXXX.ca/messager/dashboard/caldispo';" type="submit" value="Submit request" />

and also i tried

<script type="text/javascript">
           window.location.href = 'https://ipa.info-page.ca/messager/dashboard/caldispo'; 


I hope you can understand what i tried to explain and someone can help me

sorry for the english , I'm french







Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...