Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: tracking session:variables

by rjsaulakh (Beadle)
on Jun 01, 2005 at 12:46 UTC ( #462412=note: print w/ replies, xml ) Need Help??


in reply to Re: tracking session:variables
in thread tracking session:variables

i have some more query before i get back on it.
1. i want this of my progarm to be a perl program so that it should only excute and not create or display a new page <
and at the same time session variables should be stored in the directory

i would like u to first guide me on this please


Comment on Re^2: tracking session:variables
Re^3: tracking session:variables
by castaway (Parson) on Jun 01, 2005 at 12:57 UTC
    I can't read your mind, or do your work for you, neither will I.

    The point of a perl CGI program is to create web pages for the users, using perl. Executing the perl in the CGI produces a webpage, usually. There is no point in using it if that is not what you want to do.

    In order to help you at all, I think you will need to try and describe, in words, and *at length* what exactly you are trying to attempt. Not just "save session variables", but *what* session variables? What are they for? What is the CGI going to do when it is finished?

    If you are having problems because you dont know enough english, then please try and find someone who does, put your location on your homenode, and look at other peoples to see where they are from, and find someone that speaks your language.

    C.

      hope i am not annoying you

      i want to have a perl program using which i can manage session variables of the user who login through an shtml page . i want to execute this perl program after the authentication is done so that i can store the session variables

      i dont want any page display as in cgi

        You mean a page in shtml (whatever that is), has a form, which when filled out posts the data to your perl program? What does the "authentication" then? You can store the variables that way, but you can't retrieve them, only perl can retrieve them, so only perl can produce a page using your variables.

        It's not easy to just add a CGI script to an existing set of HTML pages, just because you decide you need it. You need to redesign. It would be a lot easier if you created your pages with the perl CGI program too.

        Update: Of course, to read the cookie later, after it is set, the CGI will also need to be one that can access the HTTP headers directly. In short, you cannot run CGI scripts like that, so please rethink your program/site.

        C.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://462412]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2014-04-17 23:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (459 votes), past polls