Perl Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPerl Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 16th, 2001, 12:29 AM
Dups Dups is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 30 Dups User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
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.

Reply With Quote
  #2  
Old March 17th, 2001, 05:12 PM
Paul H Paul H is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Posts: 4 Paul H User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #3  
Old March 19th, 2001, 03:30 AM
Dups Dups is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 30 Dups User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
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

Reply With Quote
  #4  
Old March 20th, 2001, 01:39 AM
Dups Dups is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 30 Dups User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
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]

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPerl Programming > Session management in perl


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT