|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hello there..
I would like to get some information regarding the session management in perl. I have downloaded the module Apache::Session. But couldn't understand how to use this module in session mangement. Could u please provide some help or could u please suggest some resources from where I could get help. Thank u Dups. |
|
#2
|
|||
|
|||
|
Here is a different way.
I have not looked at this myself but some websites use a session number added to all the internal urls and if no session number was added it creates a new one. These numbers tend to be long, here is an example:
<A HREF="clickhere.pl?session=00651253xqwBVF00361856fpjGHP"> Click here</A> Then read the session number using the query to see which session it is. The long session numbers can make your pages bigger if you got lots of links so it it probably not the best way but maybe an easy way. |
|
#3
|
|||
|
|||
|
Hello there...
Thank u Paul for ur suggestions I am using the module Apache::Session to manage the session. Now I can create the session ids as I start a session and the session ids are passed to the subsequent pages. Now I don't understand how to store the values corresponding to each session. I think there is some way to do this using the module within me. But I don't understand how to do it. Could anyone please help. Thank u Dups |
|
#4
|
|||
|
|||
|
Hello there..
Now it is possible for me to store session variables via the hash which is tied to Apache::Session module. The session variables stored when a new session is started can be retrieved in the subsequent pages. I would like to know whether it is possible to store another session variable via the same hash from any other page. That is for the same session, I want to add another session variable. But I have to do this from a page which accesses information about the old session. Now when I do so, it is not possible to access. What could be the mistake? Is it necessary that all the session variables that should be accessed should be stored at the time of starting the session itself? Could anyone please help. Thank u Dups [Edited by Dups on 03-20-2001 at 12:44 AM] |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > Session management in perl |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|