Old 31st July 2003, 20:16   #1
tmulle
Junior Member
 
Join Date: Jul 2003
Posts: 2
Question How to download a dynamic page

Hey guys,

I have been playing with nsisdl for a little bit now, but have been running into problems. Basically, I'd like to generate and install a unique key (from the server) for each download. I figured that the easiest way to do this would be to have the install process contact the server and download a file containing this key. This leads to my difficulties:

It looks like the nsisdl cannot download a dynamic page (with server-side code, redirects, etc.). More specifically, it won't retrieve a *.cfm page (I'm using Cold Fusion) which outputs this key. Is this a known issue? Am I going about this the wrong way?

Thanks for any help you can give. It's much appreciated.

-tmulle-
tmulle is offline   Reply With Quote
Old 31st July 2003, 20:23   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
I had the same problem.

I was using a dynamic php script which was a build of lots of information for my program.

Do you have a content header length code in your script?

-Stu
Afrow UK is offline   Reply With Quote
Old 31st July 2003, 22:25   #3
tmulle
Junior Member
 
Join Date: Jul 2003
Posts: 2
No, I haven't explicitly set the http header-length in the server-side script (not sure I even know how to do that).

Thanks, I'll look into it a little more from that angle.

-tmulle
tmulle is offline   Reply With Quote
Old 31st July 2003, 22:28   #4
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
That's all you need in now to allow NSISdl at your dynamic page.

-Stu
Afrow UK is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump