If you are using Cookies, then you can use Javascript to grab the
cookie value and then redirect if required off that.
> -----Original Message-----
> From: DELCYAN@l... [mailto:DELCYAN@l...]
> Sent: 15 March 2001 21:28
> To: html_code_clinic@p...
> Subject: [html_code_clinic] RE: Passing values from one htm page to
> another
>
>
> Thank you very much Andrew but I have use an asp page and in
> the asp page I have one include file which my GTR.htm and it works.
>
> But do have another question though. When I get to the
> GTR.htm, the first thing I do is check to see
> if the user has entered a user and password if not then "this
> is the part that I need help again" return to the
> Password.htm. How can I do that.
>
> do I need another asp page.
>
> Sorry, I don't know much about html.
>
> Thank you again.
>
> Anthony
>
>
>
> >>> Andrew Thorne <AndrewT@C...> 03/15 1:54 PM >>>
> Use -
>
> <script>document.write(self.opener.document.formName.inputName
> .value);</scri
> pt>
>
> in the your GTR.htm page to grab the value from the password
> page... You
> will notice that this example code assumes that the "GTR.htm" page is
> spawned( window.open) from the password page. But this should
> give you a
> starting point.
>
> "However deviant my vices may be, I always hold them worthy
> of respect...
> because one is not master of them"- Marquis de Sade
>
> Andrew Thorne (Quazi Evil)
> Web Developer
> ContentAlive
> tel: (506) 451 - 8001
> fax: (506) 457 - 9500
> toll free: 1- 888 - 794 - 8444
> " E - Learning Experienced"
>
>
>
> -----Original Message-----
> From: Anthony Delcy [mailto:DELCYAN@l...]
> Sent: Thursday, March 15, 2001 10:26 PM
> To: HTML Code Clinic
> Subject: [html_code_clinic] Passing values from one htm page
> to another
>
>
> Hi,
>
> How can I pass the values entered by the user from my
> password screen to
> my GTR.htm page.
> I tried using <form method=3D"post" action=3D"GTR.htm"
> name=3D""> but it
> does not work.
>
> I have an example but the action=3D"user.asp" do I have to
> use an asp
> page?
>
>
> Thank you
>
> Anthony
>
>
> <html>
> <head>
> <title>GTR NUMBERING PASSWORD MANAGEMENT SYSTEM</title>
> <meta http-equiv=3D"Content-Type" content=3D"text/html;
> charset=3Diso-8859-
> 1">
> </head>
>
> <body bgcolor=3D"#6699FF">
>
> <p align=3D"left"><font size=3D"4" face=3Darial
> color=3D"#FFFFFF"><b> GTR
> Numbering Password
> Screen</b></font></p>
>
> <center>
>
> <form method=3D"post" action=3D"GTR.htm" name=3D"">
> <TABLE width=3D770 height=3D"182">
> <TR valign=3Dtop align=3Dleft>
> <TD width=3D"413" height=3D"115"> <b><font size=3D"4"
> face=3Darial
> color=3Dwhite><i>Enter Your Password</i></font></b><br>
> <br>
> <b><b>
> <table bgcolor=3Dblack width=3D"400">
> <tr>
> <td>
> <table bgcolor=3D#f7efde width=3D"457" border=3D"0">
> <tr>
> <td width=3D"127"><b>User Name:</b></td>
> <td width=3D"320"><b>
> <input type=3D"text" name=3D"UserName">
> </b></td>
> </tr>
> <tr>
> <td width=3D"127"><b>Password:</b></td>
> <td width=3D"320"><b>
> <input type=3D"text" name=3D"Password"
> size=3D"50">
> </b></td>
> </tr>
> </table>
> </td>
> </tr>
> </table>
> <br>
> <b><b><br>
> </b></b></b></b></TD>
> </TR>
> <TR valign=3Dtop align=3Dleft>
> <TD width=3D"413">
> <input type=3D"submit" name=3D"Submit"
> value=3D"Submit">
> <input type=3D"reset" name=3D"Reset" value=3D"Reset">
> </TD>
> </TR>
> </TABLE>
>
> </form>
>
> </center>
>
> </body>
> </html>