You may find these links useful
http://www.frontpagehowto.com/newpassword/default.asp
and
http://spiderwebwoman.com/thingumaji...ks.htm#passing
--
_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________
"rhynos77" <(E-Mail Removed)> wrote in message news:9B58C494-98DC-4E70-B98E-(E-Mail Removed)...
| Hi Stefan
|
| In the DB Results Wizard I go to More Options>Defaults. The Name is "UID"
| and in the Default Value Field I've entered "<% = session("UID") %>"
|
| This creates this line in the code: fp_sDefault="UID=<% = session("UID") %>"
|
| The funny thing is, I've created another form on a separate protected .asp
| page, which posts to the profile.asp page. It has a hidden field named "UID"
| and
| the value is "<% = session("UID") %>".
|
| One other thing - I'd ideally like the profile.asp page to run this query
| automatically, but using both "UID" and "PWD" (userID and passwords) but I
| can't work this out either.
|
| Thanks in advance for your time.
|
| Ryan
|
| When you click on this, it runs the query on the profile.asp page, no problem.
| "Stefan B Rusynko" wrote:
|
| > Are you saving their user ID upon login as a session variable, and using it to select their recordset from the db to display.
|
|
| > - if so, show us a code snippet of your DB select statement and variables
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > To find the best Newsgroup for FrontPage support see:
| >
http://www.net-sites.com/sitebuilder/newsgroups.asp
| > _____________________________________________
| >
| >
| > "rhynos77" <(E-Mail Removed)> wrote in message news:8DF5794E-F7E8-4926-AC7D-(E-Mail Removed)...
| > | Hi there
| > |
| > | As per the script provided in article:
| > |
http://support.microsoft.com/kb/825498 certain .asp pages in my sub web are
| > | password protected.
| > |
| > | When a user attempts to open any of these pages, they are redirected to the
| > | logon.asp page. When they successfully logon they are redirected to the
| > | referring page (the page they were attempting to access originally).
| > |
| > | I have a link to 'Your Profile' (protected). The user is referred to the
| > | logon page, upon successfully logging in they a redirected to Your Profile.
| > |
| > | I can't work out how to display the user's personal information on that page
| > | - the database simply says 'No records found'.
| > |
| > | Hoping someone can explain how to default this to display the user's
| > | personal information.
| > |
| > | Thanks
| > |
| > | Ryan
| >
| >
| >