PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old June 8th, 2004, 01:37 AM
Alicia Alicia is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 116 Alicia User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 27 m 49 sec
Reputation Power: 5
session in secure page

Hi guys,

I have having some difficulty here,,,, hope u guys able to give me an idea how to solve this..

i have done up a file and it is working fine if i dun put any secure layer address there :
e.g :
<font face="Arial"><a href="checkout1.php?cart=<? echo $cart; ?>">Check
Out>></a></font>

When it goes to checkout2.php ( the file after checkout1.php) the registered session is still there,, i still can output the registered value

but when i put a secure address there, i can not see any registered values anymore
e.g:
<font face="Arial"><a href="https://sec.linux.com/~temp/shopping/testing/checkout1.php?cart=<? echo $cart; ?>">Check
Out>></a></font>

i am wondering why after i added the https address in front, i can not see any output of the registered variable in checkout2.php.. the file suppose to work fine.,.

can somebody tells me whats wrong with my code ??

the flow of the system...
basket.php -> checkout1.php ->checkout2.php

please advise.

Reply With Quote
  #2  
Old June 8th, 2004, 07:17 AM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to dhouston
You can set cookies to be secure only or non-secure only. I suspect that's what's going on -- your cookie's only good for the non-secure session. I use sessions across the SSL with no problem. Read up on the setcookie() parameters at php.net.
__________________
Please don't PM me asking for solutions outside the scope of a thread.
Keeping all responses in a thread stands to help others who come along later,
which is after all what this forum's all about.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingPHP Development > session in secure page


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 6 hosted by Hostway