Jump to content
xisto Community
Sign in to follow this  
kvarnerexpress

Session - Problem

Recommended Posts

HI, Im having problem with CGI::Session. I need to assign same session id to user who adds items to shopping cart.But it creates different ids everytime Im adding item.Im using IIS server, and I dont see any cookies or session data which should be stored on my computer.It only prints cookie in browser.I tried different methods nothing works.Here is script, as described in tutorial:use CGI; $cgi = new CGI; $session = new CGI::Session(undef, $cgi, {Directory=>'/tmp'}); $cookie = $cgi->cookie(CGISESSID => $session->id );print $cgi->header(-cookie=>$cookie);$sid=$session->id();Anybody can give any solution?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.