473,394 Members | 1,722 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

asp linking

347 100+
i have a website www.yaketyyak.co.uk that lists various mp3 file for various people, i want to be able to add a selection of any mp3s to a list and view them on a page a bit like a shopping cart and then email the page to someone, does anyone have any pinters for me....
thanks
Oct 31 '08 #1
4 1407
jhardman
3,406 Expert 2GB
Which part is giving you a problem? Because I admit that sending an email through ASP has always been a big headache for me.

Most shopping carts use a cookie or a session variable in order to keep the list until the action (place order or whatever) is done. Have you ever used session variables or cookies?

Jared
Nov 3 '08 #2
colinod
347 100+
Hi I have never uses sesion variables or cookies, all i want to do is send a link to an email address that will return a page that conatain a list of the selected mp3 files......
Nov 4 '08 #3
jhardman
3,406 Expert 2GB
So once again, which part is giving you trouble? I see three problems here:
  • forming a list of selected files
  • sending an email
  • pulling up the right list after the user clicks a link he received via email
for the first step, you could use session variables like this:
Expand|Select|Wrap|Line Numbers
  1. <!--form page-->
  2. <input type="checkbox" name="1121">O Tannenbaum (song 1121)
  3. <input type="checkbox" name="1122">Frosty the Snowman (song 1122)
  4. <input type="checkbox" name="1123">Jingle Bells (song 1123)
  5.  
  6. 'form handler which sends the email
  7. for each x in request.form
  8.    if request(x) = "on" then
  9.       session("selectedSongs") = session("selectedSongs") & x & ","
  10.    end if
  11. next
  12.  
  13. 'send mail with your normal method, making sure to use an HTMLBody rather than a TextBody which doesn't support hyperlinks.
  14. mail.HTMLBody = "<a href=" & chr(34) & "http://www.mySite.com/selectedSongs?mySelection=" & session("selectedSongs") & chr(34) & ">Click here for your selection</a>"
  15. 'etc
Is this the part you had a question about?

Jared
Nov 4 '08 #4
colinod
347 100+
Sorry i am having real problems with this, i want to put a button next to each mp3 listed on the site that adds this mp3 to a shopping cart type thing that i can then view on a page and email to people, i am just not good enough with ASP to do this, i can supply a page if some one wants to have a try for me, i know its a bit cheeky!!!!!
Nov 10 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Wolfgang | last post by:
I have a problem with linking my CPP Code under a irix6 machine (sgi, UNIX). In my CPP code I use some Functions which are written in Python. So its a kind of CPP wrapper for my Python functions In...
0
by: Dibyendu Roy | last post by:
Hi All, I build an object called "dblorcle" to connect to oracle database in Sun solaris box. This is built linking with various oracle ".a" (archived, for static linking) files come with standard...
7
by: Steven T. Hatton | last post by:
Is there anything that gives a good description of how source code is converted into a translation unit, then object code, and then linked. I'm particularly interested in understanding why putting...
2
by: sunil | last post by:
Hi, We have lot of c and fortran archive libraries that have complex dependencies. We have different server tasks that use some of these libraries. We have developed a tool inhouse that links...
20
by: Steven T. Hatton | last post by:
I just read this in the description of how C++ is supposed to be implemented: "All external object and function references are resolved. Library components are linked to satisfy external...
0
by: gasturbtec | last post by:
please help im new at access programming and i just got this project dropped in my lap because the old programmer quit. i've been doing ok so far but now i need to add code to an existing database...
6
by: Rudy Ray Moore | last post by:
I work with a multi-project workspace. One project (the "startup" project) has a "Configuration Type" of "Application (.exe)". The other 40 projects have a "Configuration Type" of "Static Library...
0
by: Rudy Ray Moore | last post by:
I've been having trouble getting incremental linking to work under Visual C++ .net 2003 7.1 for my multi-project workspace. Ronald Laeremans and Carl Daniel (and a few others) helped me figure it...
0
by: Philip Lowman | last post by:
I am in the process of trying to migrate a couple of build solutions to Visual Studio Express 2005 from VS 2003 Professional and I am running into a weird C/C++ runtime library linking issue when...
1
by: srikar | last post by:
what is the difference between static linking & dynamic linking, what are the advantages of each? How to perform static linking & Dynamic linking by using gcc -o liniking will be done , but...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.