The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 802 - File: showthread.php PHP 7.2.19-0ubuntu0.18.04.2 (Linux)
File Line Function
/showthread.php 802 errorHandler->error



Current time: 10-20-2019, 11:43 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Setcookie not working as expected
06-09-2015, 02:11 AM
Post: #1
Setcookie not working as expected
I am trying to use setcookie to set the user login.
We have a scenario where we want to test a page that is displayed based on user login.

I have tried the following but no luck. I have tried setting the same cookies from the browser (chrome) and it works fine.
Please let me know if I am missing anything.

combinesteps
navigate path
setCookie path cookie1=TZpRG5WIfIn/KqnclE0NOTQzNzDJq/TGRjTY97
setCookie path cookie2="cX58F1CQYUU=="
navigate path
navigate finalpath

Any help will be really appreciated.

Thanks,
Madhura
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Setcookie not working as expected - mmitra - 06-09-2015 02:11 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)