Skip to main content
April 21, 2006
Question

Can someone have a look??

  • April 21, 2006
  • 5 replies
  • 390 views
I am trying to use a session variable to display just a users details, once they have logged in. So i am using the log-in attributes of DW to validate the user and then in the results page i want to display that users details only. However I am trying to use session variables and they don't seem to be working at all!!!!!

the URL of the site is
http://www.ukdirectsmile.co.uk/LOGIN.ASP

uid: jeg
p/w: joom49

any help would be most appreciated!!!
This topic is closed to new replies. Start a new post to keep the conversation going.

5 replies

April 21, 2006
Inspiring
April 21, 2006
When I log in, it takes me to company.asp .. is that what you intended?
Where is the personalized info supposed to appear?

If you are using the Login User server behavior of DW, a session variable
called MM_Username is created that you can then create a data binding of in
the Data Bindings panel and then drop that object on your page. Is that
what you did?

Unfortunately, ASP code doesn't show when I just look at your page .. can
you post the actual code where you are setting and then implementing the
session variable?


--
Nancy Gill
Adobe Community Expert
BLOG: http://www.dmxwishes.com/blog.asp
Author: Dreamweaver 8 e-book for the DMX Zone
Co-Author: Dreamweaver MX: Instant Troubleshooter (August, 2003)
Technical Editor: DMX 2004: The Complete Reference, DMX 2004: A Beginner's
Guide, Mastering Macromedia Contribute
Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP Web Development


"peteneal" <webforumsuser@macromedia.com> wrote in message
news:e2angl$kt1$1@forums.macromedia.com...
>I am trying to use a session variable to display just a users details, once
> they have logged in. So i am using the log-in attributes of DW to validate
> the
> user and then in the results page i want to display that users details
> only.
> However I am trying to use session variables and they don't seem to be
> working
> at all!!!!!
>
> the URL of the site is
> http://www.ukdirectsmile.co.uk/LOGIN.ASP
>
> uid: jeg
> p/w: joom49
>
> any help would be most appreciated!!!
>


April 21, 2006
Hi Nancy, indeed company.asp is the user's detail page...i will attach both the login.asp page and the company.asp page code...
April 21, 2006
hi, here's the company.asp code