Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 16th, 2004, 09:00 PM
Registered User
 
Join Date: Nov 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default I have problem with Logins and forms

Actually I have many problems. I am new at dreamweaver so for beggining I have two problem.
1-I create signup page that inserts users username and password to database. After that I want the user be automatically loged on.
2-I have two page that has forms, I need a data from(username) form1 to use it at the seconed form. Because both form has same username field but have diffrent recordsets. I will put form1 username to form2 username field at secondpage. When I try form variable or session varable it didn't work. The error massage say that "the record deleted or moved" something like that.

 
Old November 17th, 2004, 03:16 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

For your first problem, simply do what you normally do when a user logs on. I.e. if you use Session to log on a user, set a session variable after you have inserted the record in the database.

I am not sure I understand your second problem. Can you describe the situation in more detail? Maybe give an example, or post some code??

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old November 18th, 2004, 03:48 AM
Registered User
 
Join Date: Nov 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Actually let me explain diffrent way, I have restricted user page, onces the user logs on there is no problem with that. I set session variable, but if user goes anoyher page and comes back to restricted user page the page denied his access. I don't know why it is doing like that.

2-If I need to be easy, if it is possible that to put a data to separate databse tables. I mean I habe two page; signup page includes username and password second page username, firstname, lastname soforth. I want to put the user name from page 1 to page 2 automatically without users insertion. the session variabla didn't work or I am using the session variable incorrectly. So there is prety much this.

 
Old November 18th, 2004, 01:33 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

It's still not making much sense to me. Can you post the code you're having troubles with? Maybe it's just a simple coding error....

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Avoid multiple logins gabrieldcr2 ASP.NET 1.0 and 1.1 Professional 1 March 6th, 2008 11:47 AM
Classic ASP caching problem with logins crmpicco Classic ASP Basics 4 December 8th, 2006 08:45 AM
logins/filters desireemm SQL Language 1 August 17th, 2004 05:53 PM
SQL Server Logins nidgep Classic ASP Databases 2 June 20th, 2003 09:05 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.