Skip to main content
April 19, 2006
Question

Login Page

  • April 19, 2006
  • 1 reply
  • 318 views
I have built a simple login system, (as per Newlands Tours) however, when the user is passed to the details page, it returns all results, what do i need to do, use a form variable or a session variable to restrict the data to just that users??

thanks
This topic has been closed for replies.

1 reply

Inspiring
April 19, 2006

If you have built your login system using the Server Behaviours built into
Dreamweaver - and if your data contains a users ID to identify that record
to that user, then you can use a session variable (once you create it) when
the user logs in to filter your details page by.

I have a simple tutorial that details how to add an extra Session variable
to the login code, such as the UserID, here:
http://robgt.com/tutorials/loginsessions.asp

The example uses VBScript, but the same principle should apply to any
scripting language.
HTH
Cheers,
Rob
http://robgt.com/ [Tutorials and Extensions]
Firebox stuff: http://robgt.com/firebox
Skype stuff: http://robgt.com/skype
Dell stuff: http://robgt.com/dell
SatNav stuff: http://robgt.com/satnav



April 19, 2006
this seemed great, but it doesn't tell me how to use that session variable?? i just get server 500 error?? is there anything i should be doing?? that i am not doing!!!!