Saturday, March 31, 2012
Subscription Form in e-mail
Sales guy came up with this idea for clients subscribing to a new service they want to implement.
User's will fill out a subscribtion form, and the data on it will be submitted to the database. Once the subscribtion is approved, a confirmation mail is send to the user.
From my standpoint, I guessed the subscribtion form would be a normal page hosted on the host. But they want to MAIL this page to clients, and clients should be able to fill out the form in the mail.
Now one get this mails where the body is a web page (or so it seems). So I need to know if one can have a page on the internet, but this page can also be filled in from within a mail body. Know what I'm saying?
CheersHmm, maybe you could just email them a link to the form they need to fill out? But, you can send html type emails, so you could try setting up a form string of html, with your fields and such, and set the action of the form to your aspx page that is going to process the form. And then send the html string email to them.
Hmm, maybe you could just email them a link to the form they need to fill out?. Thought about that too, but boss allready saw mails containing web pages, so need to give him a honest answer if it's possible or not.
But, you can send html type emails, so you could try setting up a form string of html, with your fields and such, and set the action of the form to your aspx page that is going to process the form. And then send the html string email to them.Make sense with the bit I figured out so far. Can anyone else comment on this?
You might even be able to send an IFrame with the src set to your registration project, which then you wouldn't have to send a form through the email, and would be alot simpler.
that make sense. you mean the body of the mail is a iFrame, and the iFrame's src property is set to say www.MySite.com/services/newsletter/signup.aspx?
that make sense. you mean the body of the mail is a iFrame, and the iFrame's src property is set to say www.MySite.com/services/newsletter/signup.aspx?
Yeah, just make sure the email is sent as html, you can set this when/if you use SMTP mail. I'd say give the IFrame a go and see how it works out.
Good luck;
Monday, March 26, 2012
Suggestion please..
Our clients are already using the forms authentication where we check the
User/Pwd from SQL svr Database. We also have some SETTINGS for the user save
d
in the database(helps us to restrict the user access some things) .
We wanted to implement AD authentication for the same and also keep the
existing SQL SVr User DB.
My Q would be how to MAP the LDAP user to the SQL svr User, so we can get
the SETTINGS defined for the user in the SQL svr Database.
Any suggestion is appreciated..
Thanks
Vinay
http://pathidotnet.blogspot.com
=====
vInAypAtHi
o__
--_,>/'_--
(_) \(_)
--Following URL maybe is helpful:
http://msdn.microsoft.com/library/d...
d16.asp
Elton Wang
"vinay" wrote:
> I have a scenario, need your suggestion..
> Our clients are already using the forms authentication where we check the
> User/Pwd from SQL svr Database. We also have some SETTINGS for the user sa
ved
> in the database(helps us to restrict the user access some things) .
> We wanted to implement AD authentication for the same and also keep the
> existing SQL SVr User DB.
> My Q would be how to MAP the LDAP user to the SQL svr User, so we can get
> the SETTINGS defined for the user in the SQL svr Database.
> Any suggestion is appreciated..
> Thanks
> Vinay
> --
> http://pathidotnet.blogspot.com
> =====
> vInAypAtHi
> o__
> --_,>/'_--
> (_) \(_)
> --
Elton
Thanks for the link, i have done the LDAP authentication already.
I am looking for a way to link the LDAP user to the existing SQL svr user.
Thanks
--
http://pathidotnet.blogspot.com
=====
vInAypAtHi
o__
--_,>/'_--
(_) \(_)
--
"Elton W" wrote:
> Following URL maybe is helpful:
> http://msdn.microsoft.com/library/d...r />
mod16.asp
> Elton Wang
>
> "vinay" wrote:
>
Suggestion please..
Our clients are already using the forms authentication where we check the
User/Pwd from SQL svr Database. We also have some SETTINGS for the user saved
in the database(helps us to restrict the user access some things) .
We wanted to implement AD authentication for the same and also keep the
existing SQL SVr User DB.
My Q would be how to MAP the LDAP user to the SQL svr User, so we can get
the SETTINGS defined for the user in the SQL svr Database.
Any suggestion is appreciated..
Thanks
Vinay
--
http://pathidotnet.blogspot.com
=====
vInAypAtHi
o__
--_,>/'_--
(_) \(_)
-----Following URL maybe is helpful:
http://msdn.microsoft.com/library/d...ml/secmod16.asp
Elton Wang
"vinay" wrote:
> I have a scenario, need your suggestion..
> Our clients are already using the forms authentication where we check the
> User/Pwd from SQL svr Database. We also have some SETTINGS for the user saved
> in the database(helps us to restrict the user access some things) .
> We wanted to implement AD authentication for the same and also keep the
> existing SQL SVr User DB.
> My Q would be how to MAP the LDAP user to the SQL svr User, so we can get
> the SETTINGS defined for the user in the SQL svr Database.
> Any suggestion is appreciated..
> Thanks
> Vinay
> --
> http://pathidotnet.blogspot.com
> =====
> vInAypAtHi
> o__
> --_,>/'_--
> (_) \(_)
> -----
Elton
Thanks for the link, i have done the LDAP authentication already.
I am looking for a way to link the LDAP user to the existing SQL svr user.
Thanks
--
http://pathidotnet.blogspot.com
=====
vInAypAtHi
o__
--_,>/'_--
(_) \(_)
-----
"Elton W" wrote:
> Following URL maybe is helpful:
> http://msdn.microsoft.com/library/d...ml/secmod16.asp
> Elton Wang
>
> "vinay" wrote:
> > I have a scenario, need your suggestion..
> > Our clients are already using the forms authentication where we check the
> > User/Pwd from SQL svr Database. We also have some SETTINGS for the user saved
> > in the database(helps us to restrict the user access some things) .
> > We wanted to implement AD authentication for the same and also keep the
> > existing SQL SVr User DB.
> > My Q would be how to MAP the LDAP user to the SQL svr User, so we can get
> > the SETTINGS defined for the user in the SQL svr Database.
> > Any suggestion is appreciated..
> > Thanks
> > Vinay
> > --
> > http://pathidotnet.blogspot.com
> > =====
> > vInAypAtHi
> > o__
> > --_,>/'_--
> > (_) \(_)
> > -----
Tuesday, March 13, 2012
Survey form - is it possilbe?
What I would like to do is:
1) Send the client a link ithat will direct them to a web survey and pre-fill in info such as technicial, date, and call type.
2) Have them complete the survey and hit submit to return their info (this part I know how to do!!)
Link Structure:
"http://domain.com/surveyform & date & technician &calltype"
Is this even possible to do with ASP and if so do you have any suggestions.
Thanks very much!!Sure it is very possible using asp or asp.net. What do you have questions about?
This is very possible.
Use the query string like so:
http://someplace.com/survey.aspx?Date=blah&Technician=blahblah&CallType=blahblah
That will send:
Date that has a value of blah
Technician that has a value of blahblah
CallType that has a value of blahblah
to the survey.aspx page. To access those values, you use the NameValue collection object to hold them and you get the values from the Request.QueryString() method in the page load event. Use those values to fill your controls. Make sure you check for IsPostback.
I'm trying what you say but it won't work -- where am I going wrong? It directs me to the page but the first name textbox is not filled with "testname".
My link: http://www.britec.com/survey.asp?fname=testname
My code:
<%
dim fname
fname=Request.QueryString("fname")
%>
<html>
<head>
<title>First Name</title>
</head>
<body>
<form method="get" action="survey.asp">
First Name: <input type="text" name="fname">
<br />
Last Name: <input type="text" name="lname">
<br /><br />
<input type="submit" value="Submit">
</form>
</body>
</html>
Are you using VS.Net? If you are, your first problem is you are using asp not asp.net.
I am trying to use just ASP.
Ok, you are in the wrong forum...sorry for my replies, I thought you were talking about asp.net.
The querystring principles are the same, and I think you can use the Request object the same, but you would have to verify that because I have used little asp.
Go here and ask the question:
http://www.vbforums.com/forumdisplay.php?s=&forumid=4