'Remember me' function? (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


JuniperLily -> 'Remember me' function? (9/2/2004 11:28:04)

Hi! *waves to all*

I am working on a page project (for my workplace) for an email inbox page where the first 4 fields will be different information that the user will have to enter everytime, but the last three fields are general info that will be the same everytime such as the associate's name, ph # and e-mail address. How do I go about programming the page so that the first few fields stay blank at each visit for each user at their own computer, but the last 3 fields will retain the information with some sort of a 'remember me' option that can be chosen? Any help would be very much and greatly appreciated!




bobby -> RE: 'Remember me' function? (9/2/2004 12:16:47)

You'll want to investigate the use of "cookies"

A cookie is a text file that is stored on the visitors computer... when they return to the site you can access the cookie and any information stored there.

Find out if your server supports ASP or PHP scripting... or you can use JavaScript and have it all process in the browser.




JuniperLily -> RE: 'Remember me' function? (9/4/2004 1:18:20)

Thanks for the info...I did a little research on cookies and to put them in the scripting to both save and retrieve cookies for certain form values. It's still not working... [:@]

Here's a snippet of the areas where the user will enter info is as follows:

quote:

</table>
<table width="400" class="FormBackground" align="center" border="0"
</tr>

<tr>
<td class="FormLabel">Reference No.: </td>
<td class="Detail"><input type="text" name="txtRefNumber" size="30" tabindex="1"></td>
</tr>

<tr>
<td class="FormLabel">Reference Number: </td>
<td class="Detail"><input type="text" name="txtAccountNumber" size="30" tabindex="3"></td>
</tr>
<tr>
<td class="FormLabel">Client Name: </td>
<td class="Detail"><input type="text" name="txtBankerName" size="30" tabindex="4"></td>

</tr>
<tr>
<td class="FormLabel">Client Phone #: </td>
<td class="Detail"><input type="text" name="txtPhoneNum" size="30" tabindex="5"></td>

</tr>
<tr>
<td class="FormLabel">Associate Name: </td>
<td class="Detail"><input type="text" name="txtRequestorName" size="30" tabindex="6"></td>

</tr>
<tr>
<td class="FormLabel">Associate Phone: </td>
<td class="Detail"><input type="text" name="txtRequestorPhone" size="30" tabindex="7"></td>

</tr>
<tr>
<td class="FormLabel">Associate Email: </td>
<td class="Detail"><input type="text" name="txtRequestorEmail" size="30" tabindex="8"></td>

</tr>

</table>


I need to set cookies for the Associate Name, Associate Phone and Associate Email fields. I tried a couple of things but it didn't work. I think what I'm stuck on is exactly how to code it and where it's actually supposed to be inserted. I really don't need the 'remember me' check box. I just really need it to be rememberd and retrieved automatically. Any suggestions??? [&:]




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875