Yii Framework Forum: Clinkpager With Parameter Post - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Clinkpager With Parameter Post CLinkPager with parameter post Rate Topic: -----

#1 User is offline   Saimon 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 10
  • Joined: 24-October 12

Posted 22 January 2013 - 05:02 AM

Dear Friend ,
I want to submit some parameter with CLinkPager. Because this pagination page will come after search. So problem is when i click next page then searching parameter value get empty, so result is empty that means page is empty. For that reason i want to post search parameter again with cLinkPager. How is it possible. Help me...

$this->widget('CLinkPager', array('pages' => $pages,));

[Note: this parameter value do not pass by url. it will go hidden or post type. . ]
0

#2 User is offline   outrage 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 313
  • Joined: 10-November 09
  • Location:Blackpool, United Kingdom

Posted 22 January 2013 - 09:02 PM

Try passing your parameter values with GET, that is how it's supposed to work I think.

Using POST will not solve any security issues, except against those with exceptionally low IT skills.

You need to ensure server-side, that the user has permission to view/edit/whatever, a certain resource. If not, throw a 403 Forbidden error.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users