The time now is 07/26/08 - 00:36
Log in: Username: Password:
Search forums for:
  

html question, mix redirect and post?

Post new topic   Reply to topic
Author Message
khrath
RealPoor Master of Posts
RealPoor Master of Posts


Joined: 11 Oct 2002
Posts: 8750



PostPosted: 03/29/05 - 07:53    Post subject: html question, mix redirect and post? Reply with quote

I have a page I log in to on a standard html form, username, password, that uses POST function to log in to a site.

I can make an html page with the values already populated in the html, where I only have to hit submit, but I want it to go directly to the page I use all the time, instead of making me push the submit button.

Is there a trick where you can do that?
Back to top
motherface
RealPoor Guru
RealPoor Guru


Joined: 12 Mar 2003
Posts: 3407



PostPosted: 03/29/05 - 09:55    Post subject: Reply with quote

You could probably use javascript to do an "Onload='form.submit()'" type thing when the page loads. Klunky but I've seen it work.
Back to top
kireol
RealPoor Master of Posts
RealPoor Master of Posts


Joined: 02 Aug 2003
Posts: 9517
Location: Royal Oak, MI



PostPosted: 03/29/05 - 10:23    Post subject: Reply with quote

so you have a authenticate protected page and you want to be able to come back to that page without having to click something or log in? cookies if you have control of the code
Back to top
Spiritz
RealPoor Sensei
RealPoor Sensei


Joined: 11 Oct 2002
Posts: 1969
Location: Huntington Beach, CA



PostPosted: 03/29/05 - 14:42    Post subject: Reply with quote

Kireol is correct. Only way to bypass authentication would be to either remove it, or set a cookie and then have your code check for it. Same idea as "remember me" checkboxes (ala Realpoor Sign In).
Back to top
Display posts from previous:   
Post new topic   Reply to topic
Page 1 of 1

Related topics:
Tech question, video capture
Question, motorcycle related
DVD Copying software question, copies of movies to 1 DVD+-R
Tech Question, Large data storage (running out of space :P)
Wierd question, undue litigation
Direct TV Question, Please Help
Question, how to play?
Site redirects I know someone knows how to do this....