set the userid and password as client or seesion varaibles and then just
call them on the page you are cflocating to.
----- Original Message -----
From: "Nagesh Kumar Deva" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 13, 2000 1:42 AM
Subject: url problem
> Hai
> This is my cflocation url path
> But when i want to show the user, i don't want to show them my userid and
> password.
>
>
> <cflocation
>
url="../report/hrall.rpt?init=actx&user0=ianmedrpt&password0=ianmedrpt&user1
>
=ianmedrpt&password1=ianmedrpt&user2=ianmedrpt&password2=ianmedrpt&user3=ian
>
medrpt&password3=ianmedrpt&sf={visit.empid}+%3d+#client.empid#+and+{visit.vi
>
sitdate}+>%3d+date(#form.yy#,#form.mm#,#form.dd#)+and+{visit.visitdate}+<%3d
> +date(#form.yy1#,#form.mm1#,#form.dd1#)">
>
>
> So for that one i have taken unp variable and i encrypted and substituted
in
> url path.
> ok this is working in current user. but when u come to other pc, it is
> asking userid and password diologbox.
> Plese can any body help me .
>
>
> Following code to encrypt the useid and password.
>
> <cfset client.unp =
>
"user0=ianmedrpt&password0=ianmedrpt&user1=ianmedrpt&password1=ianmedrpt&use
> r2=ianmedrpt&password2=ianmedrpt&user3=ianmedrpt&password3=ianmedrpt">
>
> <cfset client.unp1 = encrypt("#client.unp#",2)>
>
> <cflocation
>
url="../report/hrall.rpt?init=actx&#client.unp1#&sf={visit.empid}+%3d+#clien
>
t.empid#+and+{visit.visitdate}+>%3d+date(#form.yy#,#form.mm#,#form.dd#)+and+
> {visit.visitdate}+<%3d+date(#form.yy1#,#form.mm1#,#form.dd1#)">
>
>
>
> Thanx
> Ramesh
>
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.