Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
A quick YES/NO question on session info
Old 11-18-2005, 12:44 PM A quick YES/NO question on session info
Junior Talker

Posts: 1
Trades: 0
Hi

Could someone please indulge my noobness to PHP and tell me if this:
PHP Code:
  <a href="<?php printf("%s?pageNum_rsCells=%d%s"$currentPagemax(0$pageNum_rsCells 1), $queryString_rsCells); ?>"><img src="../images/Previous.gif" border=0></a>
Would using this cause users to loose session info?

Thus does it need a SID comment adding?

Thanks in advance for any help

Last edited by 0beron; 11-18-2005 at 01:34 PM..
AmenToThat is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-18-2005, 04:21 PM
lurkingfridge79's Avatar
Novice Talker

Posts: 9
Trades: 0
Correct me if I'm wrong... but that should work just fine. Or at least it has for me when I use sessions...
lurkingfridge79 is offline
Reply With Quote
View Public Profile
 
Old 11-18-2005, 05:20 PM
Bling's Avatar
Super Talker

Posts: 144
Trades: 0
Yes, that seems to work well?
__________________

Please login or register to view this content. Registration is FREE
Buy and sell myspace bulletins/accounts/comments. ect..
Bling is offline
Reply With Quote
View Public Profile Visit Bling's homepage!
 
Old 11-18-2005, 06:26 PM
0beron's Avatar
Defies a Status

Posts: 1,832
Location: Somewhere else entirely
Trades: 0
Depends what's in those variables, does your query string come out right?

Obvious question: are you calling session_start() on the page you want sessions to be enabled? PHP uses cookies for sessions if it can, and switches to SIDs in the query string if they are disabled. I though the process was automatic, but I could be wrong.
__________________
UPDATE 0beron SET talkupation = talkupation + lots WHERE post = 'helpful';

Please login or register to view this content. Registration is FREE
(aka MSN handwriting for forums)
0beron is offline
Reply With Quote
View Public Profile Visit 0beron's homepage!
 
Old 11-18-2005, 10:58 PM
camperjohn's Avatar
Ultra Talker

Posts: 268
Location: San Diego
Trades: 0
I don't think it would. Just try it though...
__________________

Please login or register to view this content. Registration is FREE



Please login or register to view this content. Registration is FREE
camperjohn is offline
Reply With Quote
View Public Profile Visit camperjohn's homepage!
 
Reply     « Reply to A quick YES/NO question on session info
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.45439 seconds with 12 queries