Skip to main content
Inspiring
June 27, 2006
Question

Urgent help

  • June 27, 2006
  • 1 reply
  • 186 views
Dear sir,

i am trying to insert using the DW insert record behaviour but it doesnt
work

before the insert page i have created a login page using USER AUTH BEHAVIOUR
OF DW for users to login using their username and password. Once the user is
authenticated successfully he is sent to the INSERT PAGE

On this insert page i created a hidden field

<input name="userSubmit" type="hidden" id="sendMePls"
value="<%=Request.Form("user Name")%>">

so in this field I want the username typed on the login page to be inserted
along with the other fields filled and go into the column strUser, so that I
can keep a track of which user inserts which record

please help me its urgent

thank u


This topic has been closed for replies.

1 reply

Inspiring
June 27, 2006
If you want to track a logged in user then you need to use the session
variable that DW creates in the login script. Your form field will be like
this

<input name="userSubmit" type="hidden" id="sendMePls"
value="<%=session("MM_Username")%>">

--
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver

Valleybiz Internet Design
www.valleybiz.net

"Techy" <anwar@clickbahrain.com> wrote in message
news:e7qnu2$o72$1@forums.macromedia.com...
> Dear sir,
>
> i am trying to insert using the DW insert record behaviour but it doesnt
> work
>
> before the insert page i have created a login page using USER AUTH
> BEHAVIOUR OF DW for users to login using their username and password. Once
> the user is authenticated successfully he is sent to the INSERT PAGE
>
> On this insert page i created a hidden field
>
>
>
> so in this field I want the username typed on the login page to be
> inserted along with the other fields filled and go into the column
> strUser, so that I can keep a track of which user inserts which record
>
> please help me its urgent
>
> thank u
>