snubbr.com

Using Verisign SSL certificates on shared IP...?

Get a Verisign SSL certificate for 30 days FREE. Click here to use coupon...

Get a free trial of Verisign SSL certificates. Click here for this special deal...
Quick question: Using Verisign SSL certificates on shared IP...? Hoping for any response. Second question of mine... Hi All,.

Does anyone have an answer to this problem that I've been battling with for three days:.

In my php file, try.php, I created a session variable.

$CartId = '222';.

Tep_session_register('CartId');.

But when I try to get $CartId on a different page, it appears empty. I also added.

Include('/includes/application_top.php');.

To the pages but it made no difference..

Does anyone know how to set custom session variables and retrieve it some where else. Any help will be highly appreciated..

Thanks for your help !..

Comments (78)

I would like to know the answer too. Anyone here know what is the answer to your question. I'll do some poking around and get back to you if I find an useful answer. You should email the people at Verisign as they probably can help you..

Comment #1

Thanks Satish...Yes, that was how in tried to retrieve the variable, but it was empty...any other ideas?..

Comment #2

...even calling an echo() after setting the value was empty on the same page.....

Comment #3

If thats empty means..

1)You lost the session. or.

2)The variable was never saved in session..

3)Or in the next page the session was not started..

Check the data abse sessions table aainst the oscid You have to conclude on..

Satish..

Comment #4

I discovered that the application_top was not being called corectly on that page...so I moved the code to set the session to an oscommerce page. I can get the variable from that page, but when I navigate to the home page(index.php)...the variable is lost again. any ideas on this? why am l losing the session? how do I force it to keep the session alive?..

Comment #5

How is the session ID carried to all pages thru get vaiable or thru cookies..

Just one of the two is used and on times a link hard code will not cary the oscid (if not stored in cookies) and will result in that..

Satish..

Comment #6

I discovered that the problem was that I had to encode the variable in order to store it in a session.....so the variable was actually there, but couldn't be stored until I encoded(urlencode) it. This was after I moved the function to a different page. All works well now, and I hope this helps someone else. Thanks Satish for your help..appreciate it...

Comment #7

Hi All,.

Does anyone have an answer to this problem that I've been battling with for three days:.

In my php file, try.php, I created a session variable.

$CartId = '222';.

Tep_session_register('CartId');.

But when I try to get $CartId on a different page, it appears empty. I also added.

Include('/includes/application_top.php');.

To the pages but it made no difference..

Does anyone know how to set custom session variables and retrieve it some where else. Any help will be highly appreciated..

Thanks for your help !..

Comment #8

Check the value $_SESSION['CartId'] on the other page..

Satish..

Comment #9


This question was taken from a support group/message board and re-posted here so others can learn from it.

 

Categories: Home | Diet & Weight Management | Vitamins & Supplements | Herbs & Cleansing |

Sexual Health | Medifast Support | Nutrisystem Support | Medifast Questions |

Web Hosting | Web Hosts | Website Hosting | Hosting |

Web Hosting | GoDaddy | Digital Cameras | Best WebHosts |

Web Hosting FAQ | Web Hosts FAQ | Hosting FAQ | Hosting Group |

Hosting Questions | Camera Tips | Best Cameras To Buy | Best Cameras This Year |

Camera Q-A | Digital Cameras Q-A | Camera Forum | Nov 2010 - Cameras |

Oct 2010 - Cameras | Oct 2010 - DSLRs | Oct 2010 - Camera Tips | Sep 2010 - Cameras |

Sep 2010 - DSLRS | Sep 2010 - Camera Tips | Aug 2010 - Cameras | Aug 2010 - DSLR Tips |

Aug 2010 - Camera Tips | July 2010 - Cameras | July 2010 - Nikon Cameras | July 2010 - Canon Cameras |

July 2010 - Pentax Cameras | Medifast Recipes | Medifast Recipes Tips | Medifast Recipes Strategies |

Medifast Recipes Experiences | Medifast Recipes Group | Medifast Recipes Forum | Medifast Support Strategies |

Medifast Support Experiences |

 

(C) Copyright 2010 All rights reserved.