/    Sign up×
Community /Pin to ProfileBookmark

problem with mulriple sessions

Hallo,

first my remote server is not from the best quality. (but its cheap)

I have problems if i use session’s on more then one page.

These are strange things in the (remote) config:
session.use_trans_sid = off
session.cookie_lifetime = 3600

on the working “session” page i use a hand made cookie value for the PHPSESSID to expire after the browser is clodes.

It’s not possible to use sessions on other pages.
Anyone an idea?

to post a comment
PHP

4 Comments(s)

Copy linkTweet thisAlerts:
@pyroJul 23.2004 — Hmm... I don't really understand what you need. Could you try to explain better, perhaps?
Copy linkTweet thisAlerts:
@olafauthorJul 23.2004 — Hallo,

I want to use this both session-vars on one page:
[code=php]
$_SESSION['count'] = $x;
$_SESSION['viewed'][$x] = $sel_number;[/code]


and this seesion_var on another page:
[code=php]$_SESSION['check_vote'] = "yes";[/code]

both don't work together and this only on my remote server and only in mozilla...
Copy linkTweet thisAlerts:
@pyroJul 23.2004 — You'll have to show us the code in question, and perhaps provide a link to the pages you are testing this on...
Copy linkTweet thisAlerts:
@olafauthorJul 23.2004 — The code is Ok it works on other server's (also my local server)
×

Success!

Help @olaf spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...