Thank you Ron and David.

----- Original Message -----
From: Ron Bergin <r...@i.frys.com>
To: Rajeev Prasad <rp.ne...@yahoo.com>
Cc: perl list <beginners@perl.org>
Sent: Tuesday, August 7, 2012 9:36 PM
Subject: Re: how to set session variable (not session cookie) using perl CGI


-- 
Rajeev Prasad wrote:
> I am using CGI.pm on my website, but I generate my pages using TT
> (template Toolkit).
>  
> I have few questions:
>  
> 0. how to have a session variable (not a session cookie)? If I do not want
> to use cookie, do i have to store session data in a temp file on server
> and check it with each page load?
>  
>  
> 1.  How do I pass a cookie to the page I am displaying using tt ? is
> following ok?
>  
> print "Content-type: text/html\n\n";
> print $q->header(-cookie=>$mycookie);
> ...further code to generate page using tt
>  
> 2. another related issue is: How do I send a redirect URL to the browser
> client, based on some conditions in the logic?
>  
> ty.
> Rajeev
>
> --

http://search.cpan.org/~markstos/CGI-Session-4.48/lib/CGI/Session.pm

---
Ron Bergin



-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to