Using PHP in a JS menu to redirect if no SESSION_NO found

General discussions related to php

Moderators: macek, egami, gesf

Post Reply
User avatar
WiZARD
Moderator
Moderator
Posts: 1256
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Re: Using PHP in a JS menu to redirect if no SESSION_NO foun

Post by WiZARD » Thu Apr 24, 2003 6:35 am

at youre place i'm just asking about user_id where user_id it's not session_id it's a session_name by the way you may save with long life time cookie on user computer with name of user an each pache just check session_name that's all

User avatar
WiZARD
Moderator
Moderator
Posts: 1256
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Re: Not sure I understand

Post by WiZARD » Thu Apr 24, 2003 11:04 pm

Hi again!

oops!....
first you may collect in one session_name few [/b]session_register[/b] name
and second session_cookie you may save not on user computer... you may do that at server!
:wink:

P.S.
by the way why to you need check exactly that <? if (session_id=="){do thelogin ;} ?>?

Post Reply

Who is online

Users browsing this forum: dinoroger and 6 guests