navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

session variables and pdf document

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Product Help >> Spooky Login Product Support >> session variables and pdf document
Page: [1]
 
winter

 

Posts: 168
Joined: 3/12/2002
From: Toronto ON Canada
Status: offline

 
session variables and pdf document - 3/21/2008 12:19:17   
Hi there,

Using Spooky Login and FP2003, I collect data by UserID online and post back on line for users a report done in WORD and converted to a PDF. They have to login to get the report.

I am wondering if it is possible to customize the report with the data from the user only when they login? Tried putting a session variable in a WORD document and converted it to PDF... but of course that doesn't work.

Could you please point me in the right direction?:)

Thanks so much!

Carolyn
Spooky

 

Posts: 26597
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: session variables and pdf document - 3/21/2008 15:39:31   
Just to clarify - When the user views the report, they view an online html version? You then want to take this online version and make it available as a word/pdf download?

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to winter)
winter

 

Posts: 168
Joined: 3/12/2002
From: Toronto ON Canada
Status: offline

 
RE: session variables and pdf document - 3/21/2008 23:39:01   
I have never thought of that before! Usually the report is written in WORD first then converted to PDF and uploaded to a password protected page. But I could write it up as a web page (or a Word document saved as an html page).

How would i then have that turn be made available as a PDF download... or something that prints like a normal 8/5x11" page?

You are amazing!

Thank you in advance!

Carolyn

(in reply to Spooky)
Spooky

 

Posts: 26597
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: session variables and pdf document - 3/22/2008 0:23:36   
It can be done - but depend what you have already! :)

Im not sure which version login you have, but in the Dev version, you can download the users from the user page as a .csv file (for use in Excel)
The same logic can be applied to any data - it can be outputted as a .pdf file using the same logic.

Im not an expert at that, so I dont know how to format outputs (other than straight text), but Roger may have an idea? or google :)

A code example is :
	Set objRS = objConn.Execute (sSQL)
	response.ContentType = "application/pdf"
	response.Charset = "UTF-8"
	response.AddHeader "content-disposition","attachment; filename="&appname&"data.pdf"
	Response.write objRS(...data...)
	Call CloseRs()
	Call CloseConn()
	response.end
	response.clear




_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to winter)
winter

 

Posts: 168
Joined: 3/12/2002
From: Toronto ON Canada
Status: offline

 
RE: session variables and pdf document - 3/29/2008 18:09:55   
Hi Spooky,

Well, i am going to keep this suggestion, because, as my grey cells expand, I may one day read this and have a new take on this or understand it!

But your previous question (was just so brillant) led to I think a simpler solution, which i would like to share in case there are others who need this.

This is to customize a report to users with data they have submitted to the system. Their UserID is included in the form fields.

I do my session notes (or report) in WORD, leave a highlights for where the session variable need to be inserted later.

Paste my session notes into a table on a new webpage and save as the report title. I then add the session variable for the various sections that will customize the report to the reader. Only readers with a login can read the report which is now customized to them with the data they submitted in the first place. The data by the way is collected using UserID in a hidden field.

When 50 people or more are submitting information that goes to a common report, this customized method really cuts down the pages, and gives each person their customized slice of the hologram!

I may have just lucked out but the page prints just fine too!


Carolyn


(in reply to Spooky)
OscarSierra

 

Posts: 174
Joined: 5/14/2004
From: Norway
Status: offline

 
RE: session variables and pdf document - 4/3/2008 9:30:49   
Why not use the upload function in the Spooky Login application ? admin can upload and give access to users...

Is that to simple ?:)

- Oystein

(in reply to winter)
OscarSierra

 

Posts: 174
Joined: 5/14/2004
From: Norway
Status: offline

 
RE: session variables and pdf document - 5/2/2008 9:26:26   
I have tried your solution Spooky, it wasn't that simple..... :) after a lot og google I found a C# solution (that is free) here http://www.codeproject.com/kb/cs/pdfizer.aspx

But the is a lot of payware out there at small $

I have not tried it yet, if someone do an get the wanted result I would like to know

- Oystein

(in reply to Spooky)
Page:   [1]

All Forums >> Product Help >> Spooky Login Product Support >> session variables and pdf document
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts